annex is bit 0 of spend_type

This commit is contained in:
Anthony Towns committed 2019-10-18 13:43:31 +10:00
1 parent ae32d243cd
commit 01e0c43023
1 file changed
+1 -1
+1 -1
View File
@@ -135,7 +135,7 @@ As the message for signature verification, transaction digest is ''hash<sub>TapS
*** <code>nSequence</code> (4): <code>nSequence</code> of this input.
** If the <code>SIGHASH_ANYONECANPAY</code> flag is not set:
*** <code>input_index</code> (4): index of this input in the transaction input vector. Index of the first input is 0.
** If the bit-1 of <code>spend_type</code> is set:
** If bit 0 of <code>spend_type</code> is set:
*** <code>sha_annex</code> (32): the SHA256 of (compact_size(size of annex) || annex).
* Data about this output:
** If the <code>SIGHASH_SINGLE</code> flag is set: