diff options
author | Aaron Voisine <voisine@gmail.com> | 2016-04-22 08:44:29 -0700 |
---|---|---|
committer | Aaron Voisine <voisine@gmail.com> | 2016-04-22 08:44:29 -0700 |
commit | d72c1bfc71993b85e9d6f2aa3ac6e405a371bb39 (patch) | |
tree | 86b86a339a9c4f4f0813a0b9616377bffc50372a /bip-0141.mediawiki | |
parent | 932d0750f260f9fadc423629b789b5201f59a5b7 (diff) |
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.
Diffstat (limited to 'bip-0141.mediawiki')
-rw-r--r-- | bip-0141.mediawiki | 2 |
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) |