Skip to content

Commit 736e79c

Browse files
committed
BIP341: SigHash: Clarify encoding of script pub keys
1 parent 5b9b44c commit 736e79c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0341.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ If the parameters take acceptable values, the message is the concatenation of th
106106
** If the ''hash_type & 0x80'' does not equal <code>SIGHASH_ANYONECANPAY</code>:
107107
*** ''sha_prevouts'' (32): the SHA256 of the serialization of all input outpoints.
108108
*** ''sha_amounts'' (32): the SHA256 of the serialization of all spent output amounts.
109-
*** ''sha_scriptpubkeys'' (32): the SHA256 of the serialization of all spent output ''scriptPubKey''s.
109+
*** ''sha_scriptpubkeys'' (32): the SHA256 of all spent outputs' ''scriptPubKeys'', serialized as script inside <code>CTxOut</code>.
110110
*** ''sha_sequences'' (32): the SHA256 of the serialization of all input ''nSequence''.
111111
** If ''hash_type & 3'' does not equal <code>SIGHASH_NONE</code> or <code>SIGHASH_SINGLE</code>:
112112
*** ''sha_outputs'' (32): the SHA256 of the serialization of all outputs in <code>CTxOut</code> format.

0 commit comments

Comments
 (0)