summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Towns <aj@erisian.com.au>2019-10-18 13:41:00 +1000
committerPieter Wuille <pieter.wuille@gmail.com>2020-01-19 14:47:33 -0800
commitfeffc4e34d89d03433dad60348c6acbc73392063 (patch)
treed27f53d44498fa65b24a5a51ab05cb7e3537c5c3
parent23c1c3ed8b954497c0ec6ec1f69ed14b5abcf092 (diff)
downloadbips-feffc4e34d89d03433dad60348c6acbc73392063.tar.xz
annex is bit 0 of spend_type
-rw-r--r--bip-taproot.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-taproot.mediawiki b/bip-taproot.mediawiki
index 4f84c28..1b8ed0c 100644
--- a/bip-taproot.mediawiki
+++ b/bip-taproot.mediawiki
@@ -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: