Skip to content

Commit e5918b3

Browse files
committed
Add clarification of semantics of 0x00 hash type
1 parent b79935a commit e5918b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-taproot.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The following rules apply:
100100
101101
==== hash_type ====
102102
103-
<code>hash_type</code> is an 8-bit unsigned value. The <code>SIGHASH</code> encodings from the legacy script system are used, including <code>SIGHASH_ALL</code>, <code>SIGHASH_NONE</code>, <code>SIGHASH_SINGLE</code>, and <code>SIGHASH_ANYONECANPAY</code>
103+
<code>hash_type</code> is an 8-bit unsigned value. The <code>SIGHASH</code> encodings from the legacy script system are used, including <code>SIGHASH_ALL</code>, <code>SIGHASH_NONE</code>, <code>SIGHASH_SINGLE</code>, and <code>SIGHASH_ANYONECANPAY</code>. Use of the default <code>hash_type = 0x00</code> results in signing over the whole transaction just as for <code>SIGHASH_ALL</code>.
104104
105105
The following use of <code>hash_type</code> are invalid, and fail execution:
106106

0 commit comments

Comments
 (0)