-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
While preparing the transaction to be signed, annex extractor function expects multiple elements in the stack (such as sig + annex). This is a valid check after the tx is hashed and signed, but the same function also used while hashing the transaction before signing. This causes ignored annex before signing, causing an error when annex is included into witness later.
tapscript/src/lib/sig/taproot/hash.ts
Line 207 in 10459ab
| if (witness.length < 2) return |
Metadata
Metadata
Assignees
Labels
No labels