Skip to content

Commit

Permalink
Fixing allocation context in funding wscript generation
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky authored and rustyrussell committed Apr 8, 2020
1 parent fe85cf9 commit 65eb9d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion channeld/full_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ struct bitcoin_tx **channel_txs(const tal_t *ctx,

/* Generating and saving witness script required to spend
* the funding output */
*funding_wscript = bitcoin_redeem_2of2(*funding_wscript,
*funding_wscript = bitcoin_redeem_2of2(ctx,
&channel->funding_pubkey[side],
&channel->funding_pubkey[!side]);

Expand Down

0 comments on commit 65eb9d8

Please sign in to comment.