Skip to content

Commit 3bcc648

Browse files
Merge pull request #80 from theStack/schnorr_verify-use-from_bytes_xonly
2 parents dcdbd1f + ae25fa8 commit 3bcc648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/secp256k1proto/bip340.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def schnorr_verify(
5656
if len(sig) != 64:
5757
raise ValueError("The signature must be a 64-byte array.")
5858
try:
59-
P = GE.lift_x(int_from_bytes(pubkey))
59+
P = GE.from_bytes_xonly(pubkey)
6060
except ValueError:
6161
return False
6262
r = int_from_bytes(sig[0:32])

0 commit comments

Comments
 (0)