From f62c8d19d36de4c54ea05f0bc3b9561d7fdfc1eb Mon Sep 17 00:00:00 2001 From: Andrew Poelstra Date: Tue, 8 Jun 2021 00:29:30 +0000 Subject: [PATCH] taproot-sighash.mediawiki: fix ambiguity in text --- doc/taproot-sighash.mediawiki | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/taproot-sighash.mediawiki b/doc/taproot-sighash.mediawiki index 6ef4afef05..b56393daf9 100644 --- a/doc/taproot-sighash.mediawiki +++ b/doc/taproot-sighash.mediawiki @@ -33,7 +33,7 @@ If the parameters take acceptable values, the message is the concatenation of th ** If the ''hash_type & 0x80'' does not equal SIGHASH_ANYONECANPAY: *** '''''NEW''''' ''sha_outpoint_flags'' (32): the SHA256 of the serialization of the concatenation of one byte per input of the input's outpoint flags shifted right by 24 bits. (The byte for an pegin input would be 0x40. The byte for an issuance input would be 0x80. The byte for both a pegin and issuance would be 0xc0.) *** ''sha_prevouts'' (32): the SHA256 of the serialization of all input outpoints. Each prevout output index is the masked version containing outpoint flags -*** '''''NEW''''' ''sha_asset_amounts'' (32): the SHA256 of the serialization of all output ''nAsset'' fields followed by ''nValue'' fields +*** '''''NEW''''' ''sha_asset_amounts'' (32): the SHA256 of the serialization of ''nAsset||nValue'' for each output *** '''''NEW''''' ''sha_nonces'' (32): the SHA256 of the serialization of all output ''nNonce'' fields. *** ''sha_scriptpubkeys'' (32): the SHA256 of the serialization of all spent output ''scriptPubKey''s. *** ''sha_sequences'' (32): the SHA256 of the serialization of all input ''nSequence''.