Skip to content

Commit faa9496

Browse files
author
MarcoFalke
committed
test: Add temporary logging to debug #20975
1 parent 346e52a commit faa9496

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)