mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
test: Add temporary logging to debug #20975
This commit is contained in:
parent
346e52afd6
commit
faa94961d6
1 changed files with 5 additions and 0 deletions
|
@ -181,6 +181,11 @@ def create_raw_transaction(node, txid, to_address, *, amount):
|
||||||
signed_psbt = wrpc.walletprocesspsbt(psbt)
|
signed_psbt = wrpc.walletprocesspsbt(psbt)
|
||||||
psbt = signed_psbt['psbt']
|
psbt = signed_psbt['psbt']
|
||||||
final_psbt = node.finalizepsbt(psbt)
|
final_psbt = node.finalizepsbt(psbt)
|
||||||
|
if not final_psbt["complete"]:
|
||||||
|
node.log.info(f'final_psbt={final_psbt}')
|
||||||
|
for w in node.listwallets():
|
||||||
|
wrpc = node.get_wallet_rpc(w)
|
||||||
|
node.log.info(f'listunspent={wrpc.listunspent()}')
|
||||||
assert_equal(final_psbt["complete"], True)
|
assert_equal(final_psbt["complete"], True)
|
||||||
return final_psbt['hex']
|
return final_psbt['hex']
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue