df, bugfix: use tal_wally around an allocation

This commit is contained in:
niftynei 2020-10-14 20:37:04 -05:00 committed by Rusty Russell
parent 6d650064a0
commit 4a1843a151
1 changed files with 2 additions and 0 deletions

View File

@ -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;