From 4a1843a1515e52cd13513c259ce10bb1e87db1ae Mon Sep 17 00:00:00 2001 From: niftynei Date: Wed, 14 Oct 2020 20:37:04 -0500 Subject: [PATCH] df, bugfix: use tal_wally around an allocation --- openingd/dualopend.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openingd/dualopend.c b/openingd/dualopend.c index 19b4bae28..a770a9e23 100644 --- a/openingd/dualopend.c +++ b/openingd/dualopend.c @@ -902,7 +902,9 @@ static bool run_tx_interactive(struct state *state, peer_failed(state->pps, &state->channel_id, "Unable to add input"); + tal_wally_start(); wally_psbt_input_set_utxo(in, tx->wtx); + tal_wally_end(psbt); if (is_elements(chainparams)) { struct amount_asset asset;