Skip to content

Commit 3c393ef

Browse files
committed
Merge bitcoin/bitcoin#22149: test: Add temporary logging to debug #20975
faa9496 test: Add temporary logging to debug #20975 (MarcoFalke) Pull request description: to be reverted after a fix ACKs for top commit: laanwj: Code review ACK bitcoin/bitcoin@faa9496 Tree-SHA512: 1f3103fcf4cad0af54e26c4d257bd824b128b5f2d2b81c302e861a829fd55d6a099fa476b79b30a71fe98975ae604b9e3ff31fd48a51d442389a9bd515e60ba0
2 parents 912cb59 + faa9496 commit 3c393ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/functional/test_framework/blocktools.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@ def create_raw_transaction(node, txid, to_address, *, amount):
181181
signed_psbt = wrpc.walletprocesspsbt(psbt)
182182
psbt = signed_psbt['psbt']
183183
final_psbt = node.finalizepsbt(psbt)
184+
if not final_psbt["complete"]:
185+
node.log.info(f'final_psbt={final_psbt}')
186+
for w in node.listwallets():
187+
wrpc = node.get_wallet_rpc(w)
188+
node.log.info(f'listunspent={wrpc.listunspent()}')
184189
assert_equal(final_psbt["complete"], True)
185190
return final_psbt['hex']
186191

0 commit comments

Comments
 (0)