Skip to content

Commit 1f8ce57

Browse files
authored
Merge pull request bitcoin#1615 from satsie/satsie-more-repeat-words
BIP340: remove repeat words
2 parents 9cfe3a4 + 44984ac commit 1f8ce57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bip-0340/test-vectors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ def vector0():
2424
assert(y(P) % 2 == 0)
2525

2626
# For historical reasons (pubkey tiebreaker was squareness and not evenness)
27-
# we should have at least one test vector where the the point reconstructed
27+
# we should have at least one test vector where the point reconstructed
2828
# from the public key has a square and one where it has a non-square Y
2929
# coordinate. In this one Y is non-square.
3030
pubkey_point = lift_x(pubkey)
3131
assert(not has_square_y(pubkey_point))
3232

3333
# For historical reasons (R tiebreaker was squareness and not evenness)
34-
# we should have at least one test vector where the the point reconstructed
34+
# we should have at least one test vector where the point reconstructed
3535
# from the R.x coordinate has a square and one where it has a non-square Y
3636
# coordinate. In this one Y is non-square.
3737
R = lift_x(sig[0:32])

0 commit comments

Comments
 (0)