mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-03-26 13:25:49 +01:00
Fix TaprootKeyPath.isValid for 64 byte sigs (#4444)
This commit is contained in:
parent
0c14fc961b
commit
93302fea01
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ object TaprootKeyPath {
|
|||
}
|
||||
|
||||
def isValid(stack: Vector[ByteVector]): Boolean = {
|
||||
stack.length == 1 && (stack.length == 64 || stack.head.length == 65)
|
||||
stack.length == 1 && (stack.head.length == 64 || stack.head.length == 65)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue