diff --git a/protocol/blockchain/transaction/transaction-signing.md b/protocol/blockchain/transaction/transaction-signing.md index 481269d..a9fc8e5 100644 --- a/protocol/blockchain/transaction/transaction-signing.md +++ b/protocol/blockchain/transaction/transaction-signing.md @@ -59,8 +59,8 @@ In Bitcoin Cash, transaction signatures use the transaction digest algorithm des | Field | Length | Format | Description | |--|--|--|--| | transaction version | 4 bytes | unsigned integer[(LE)](/protocol/misc/endian/little) | The value of transaction's version field. | -| previous outputs hash | 32 bytes | hash[(BE)](/protocol/misc/endian/big) | A double SHA-256 hash of the set of previous outputs spent by the inputs of the transaction. See [Previous Outputs](#previous-outputs-hash) for the hash preimage format.

If hash type is "ANYONE CAN PAY" then this is all `0x00` bytes. | -| sequence numbers hash | 32 bytes | hash[(BE)](/protocol/misc/endian/big) | A double SHA-256 hash of the set of sequence numbers of the inputs of the transaction. See [Sequence Numbers](#sequence-numbers-hash) for the hash preimage format.

If hash type is "ANYONE CAN PAY" then this is all `0x00` bytes. | +| previous outputs hash | 32 bytes | hash[(BE)](/protocol/misc/endian/big) | A double SHA-256 hash of the set of previous outputs spent by the inputs of the transaction. See [Previous Outputs](#previous-outputs-hash) for the hash preimage format.

If hash type is "ANYONECANPAY" then this is all `0x00` bytes. | +| sequence numbers hash | 32 bytes | hash[(BE)](/protocol/misc/endian/big) | A double SHA-256 hash of the set of sequence numbers of the inputs of the transaction. See [Sequence Numbers](#sequence-numbers-hash) for the hash preimage format.

If hash type is "ANYONECANPAY", "SINGLE", or "NONE" then this is all `0x00` bytes. | | previous output hash | 32 bytes | hash[(LE)](/protocol/misc/endian/little) | The transaction ID of the previous output being spent. | | previous output index | 4 bytes | unsigned integer[(LE)](/protocol/misc/endian/little) | The index of the output to be spent. | | modified locking script length | variable | [variable length integer](/protocol/format/variable-length-integer) | The number of bytes for `modified_locking_script`. |