mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 14:42:40 +01:00
Fixing allocation context in funding wscript generation
This commit is contained in:
parent
fe85cf9a4f
commit
65eb9d8f43
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue