summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Voisine <voisine@gmail.com>2016-04-22 08:44:29 -0700
committerAaron Voisine <voisine@gmail.com>2016-04-22 08:44:29 -0700
commitd72c1bfc71993b85e9d6f2aa3ac6e405a371bb39 (patch)
tree86b86a339a9c4f4f0813a0b9616377bffc50372a
parent932d0750f260f9fadc423629b789b5201f59a5b7 (diff)
downloadbips-d72c1bfc71993b85e9d6f2aa3ac6e405a371bb39.tar.xz
Update bip-0141.mediawiki
The byte representation of "<0 <32-byte-hash>>" is "0x220020{32-byte-hash}" What was listed here would be the byte representation of "0 <32-byte-hash>". The text explains that there is only one item in scriptSig, so I'm guessing the byte representation is wrong. Also the corrected byte representation would produce the same sig/pubkey described in P2WSH after following the bip16 rules.
-rw-r--r--bip-0141.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0141.mediawiki b/bip-0141.mediawiki
index f9881be..afb5a2a 100644
--- a/bip-0141.mediawiki
+++ b/bip-0141.mediawiki
@@ -166,7 +166,7 @@ The following example is the same 1-of-2 multi-signature P2WSH witness program,
witness: 0 <signature1> <1 <pubkey1> <pubkey2> 2 CHECKMULTISIG>
scriptSig: <0 <32-byte-hash>>
- (0x0020{32-byte-hash})
+ (0x220020{32-byte-hash})
scriptPubKey: HASH160 <20-byte-hash> EQUAL
(0xA914{20-byte-hash}87)