mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
Merge 3c393ef9e1 into merged_master (Bitcoin PR bitcoin/bitcoin#22149)
This commit is contained in:
commit
fcc12d7e2a
1 changed files with 5 additions and 0 deletions
|
|
@ -207,6 +207,11 @@ def create_raw_transaction(node, txid, to_address, *, amount, fee, locktime=0):
|
|||
except:
|
||||
pass
|
||||
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)
|
||||
return final_psbt['hex']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue