Browse Source

patch htlc-outputs-are-p2wsh.patch

ppa-0.6.1
Rusty Russell 9 years ago
parent
commit
7ac29241ee
  1. 2
      commit_tx.c

2
commit_tx.c

@ -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…
Cancel
Save