We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dcdbd1f + ae25fa8 commit 3bcc648Copy full SHA for 3bcc648
python/secp256k1proto/bip340.py
@@ -56,7 +56,7 @@ def schnorr_verify(
56
if len(sig) != 64:
57
raise ValueError("The signature must be a 64-byte array.")
58
try:
59
- P = GE.lift_x(int_from_bytes(pubkey))
+ P = GE.from_bytes_xonly(pubkey)
60
except ValueError:
61
return False
62
r = int_from_bytes(sig[0:32])
0 commit comments