mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-20 07:34:24 +01:00
patch htlc-outputs-are-p2wsh.patch
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user