You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23.2.6: wallet_elements_regression_1259.py test failure: JSONRPCException: Unable to blind transaction: Are you sure each asset type to blind is represented in the inputs? (-8)
#1404
Open
whitslack opened this issue
Feb 11, 2025
· 2 comments
The test sends coins from node 0 to node 1 and then mines a block on node 0 but does not wait for node 1 to see the new block before the test attempts to fund a raw transaction on node 1.
Edit: It appears as though the generate method handles waiting for the new block to be processed by the other nodes, so that's probably not the problem. Looking at the combined log (linked above), the last block generated by node 0 is indeed logged by UpdateTip on node 1 (and an AddToWallet … new is also logged) before the "Fund the raw transaction" step. However, this does look suspect: node1 2025-02-11T15:22:23.466642Z [httpworker.0] [wallet/coinselection.cpp:312] [KnapsackSolver] Not enough funds to create target 45000000000 for asset 0c2260c615ccc4a503f9a5ddb10d1ed0da56196d6602a95adf4379899cceb236. Are coins considered spendable by fundrawtransaction when they have only 1 confirmation?
It would be helpful if the test logged more information about the state of the wallet in the event of a failure. In particular, it would be good to see the output of listunspent so we can tell whether all 45 UTxOs are in fact present and spendable.
Expected behavior
All tests pass.
Actual behavior
wallet_elements_regression_1259.py
had an assertion failure.System information
Elements 23.2.6 compiled with GCC Gentoo 15.0.0_pre20241222 p34.
Linux x86_64
Combined log: http://www.mattwhitlock.com/wallet_elements_regression_1259_233_20250311.log
The text was updated successfully, but these errors were encountered: