mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 15:14:23 +01:00
bitcoin/psbt: psbt_finalize needs a tal ctx.
Since it returns a wally_tx. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -590,7 +590,7 @@ openchannel2_sign_hook_cb(struct openchannel2_psbt_payload *payload STEALS)
|
||||
tal_steal(tmpctx, payload);
|
||||
|
||||
/* Finalize it, if not already. It shouldn't work entirely */
|
||||
psbt_finalize(payload->psbt, true);
|
||||
psbt_finalize(tmpctx, payload->psbt, true);
|
||||
|
||||
if (!psbt_side_finalized(payload->ld->log, payload->psbt, REMOTE))
|
||||
fatal("Plugin must return a 'psbt' with signatures for their inputs"
|
||||
|
||||
Reference in New Issue
Block a user