patch htlc-outputs-are-p2wsh.patch

This commit is contained in:
Rusty Russell 2016-04-24 20:01:51 +09:30
parent b1700b1a91
commit 7ac29241ee

View file

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