Update bip-schnorr/test-vectors.py

Co-Authored-By: Tim Ruffing <tim@timruffing.de>
This commit is contained in:
Jonas Nick 2019-08-20 10:53:58 +00:00 committed by GitHub
parent 30fdc87599
commit ae96228913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ def vector2():
msg = bytes_from_int(0x5E2D58D8B3BCDF1ABADEC7829054F90DDA9805AAB56C77333024B9D0A508B75C)
sig = schnorr_sign(msg, seckey)
# This signature does not verify vector if the implementer would check the
# This singature vector would not verify if the implementer checked the
# jacobi symbol of the X coordinate of R instead of the Y coordinate.
R = point_from_bytes(sig[0:32])
assert(jacobi(R[0]) != 1)