Skip to content

Commit c0148c8

Browse files
authored
Improve BIP-341 wording
Reading the spec closely the different language used for serialization of input outpoints and input amounts was confusing on first read. This change uses the same language for both, which makes it easier to read.
1 parent ebea569 commit c0148c8

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
@@ -105,7 +105,7 @@ If the parameters take acceptable values, the message is the concatenation of th
105105
** ''nLockTime'' (4): the ''nLockTime'' of the transaction.
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.
108-
*** ''sha_amounts'' (32): the SHA256 of the serialization of all spent output amounts.
108+
*** ''sha_amounts'' (32): the SHA256 of the serialization of all input amounts.
109109
*** ''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>:

0 commit comments

Comments
 (0)