From 7ac29241eee0038611a61dbb89cada571519aca6 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 24 Apr 2016 20:01:51 +0930 Subject: [PATCH] patch htlc-outputs-are-p2wsh.patch --- commit_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commit_tx.c b/commit_tx.c index cd4657061..e0dda433f 100644 --- a/commit_tx.c +++ b/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));