mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +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:
@@ -812,7 +812,7 @@ static struct command_result *json_sendpsbt(struct command *cmd,
|
||||
|
||||
sending = tal(cmd, struct sending_psbt);
|
||||
sending->cmd = cmd;
|
||||
sending->wtx = tal_steal(sending, psbt_finalize(psbt, true));
|
||||
sending->wtx = psbt_finalize(sending, psbt, true);
|
||||
if (!sending->wtx)
|
||||
return command_fail(cmd, LIGHTNINGD,
|
||||
"PSBT not finalizeable %s",
|
||||
|
||||
Reference in New Issue
Block a user