mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 10:46:58 +01:00
patch htlc-outputs-are-p2wsh.patch
This commit is contained in:
parent
b1700b1a91
commit
7ac29241ee
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ static bool add_htlc(struct bitcoin_tx *tx, size_t n,
|
|||
{
|
||||
assert(!tx->output[n].script);
|
||||
|
||||
tx->output[n].script = scriptpubkey_p2sh(tx,
|
||||
tx->output[n].script = scriptpubkey_p2wsh(tx,
|
||||
scriptpubkeyfn(tx, ourkey, theirkey,
|
||||
&h->expiry, locktime, rhash,
|
||||
&h->rhash));
|
||||
|
|
Loading…
Add table
Reference in a new issue