mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-22 15:04:46 +01:00
BIP340: remove repeat words
This commit is contained in:
parent
bc520fade5
commit
44984acde9
1 changed files with 2 additions and 2 deletions
|
@ -24,14 +24,14 @@ def vector0():
|
|||
assert(y(P) % 2 == 0)
|
||||
|
||||
# For historical reasons (pubkey tiebreaker was squareness and not evenness)
|
||||
# we should have at least one test vector where the the point reconstructed
|
||||
# we should have at least one test vector where the point reconstructed
|
||||
# from the public key has a square and one where it has a non-square Y
|
||||
# coordinate. In this one Y is non-square.
|
||||
pubkey_point = lift_x(pubkey)
|
||||
assert(not has_square_y(pubkey_point))
|
||||
|
||||
# For historical reasons (R tiebreaker was squareness and not evenness)
|
||||
# we should have at least one test vector where the the point reconstructed
|
||||
# we should have at least one test vector where the point reconstructed
|
||||
# from the R.x coordinate has a square and one where it has a non-square Y
|
||||
# coordinate. In this one Y is non-square.
|
||||
R = lift_x(sig[0:32])
|
||||
|
|
Loading…
Add table
Reference in a new issue