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:
Rusty Russell
2020-09-21 19:54:26 +09:30
parent 607075a3d4
commit 77b62d9e42
5 changed files with 8 additions and 5 deletions

View File

@@ -79,7 +79,8 @@ void psbt_txid(const tal_t *ctx,
*/
void psbt_elements_normalize_fees(struct wally_psbt *psbt);
struct wally_tx *psbt_finalize(struct wally_psbt *psbt, bool finalize_in_place);
struct wally_tx *psbt_finalize(const tal_t *ctx,
struct wally_psbt *psbt, bool finalize_in_place);
/* psbt_make_key - Create a new, proprietary c-lightning key
*