Skip to content

Commit 1d18627

Browse files
authored
Merge pull request #2002 from MozirDmitriy/fix/bip340-test-harness-keygen-failure-flag
2 parents ab9d5b8 + f98774a commit 1d18627

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bip-0340/reference.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ def test_vectors() -> bool:
162162
print(' * Failed key generation.')
163163
print(' Expected key:', pubkey.hex().upper())
164164
print(' Actual key:', pubkey_actual.hex().upper())
165+
all_passed = False
165166
aux_rand = bytes.fromhex(aux_rand_hex)
166167
try:
167168
sig_actual = schnorr_sign(msg, seckey, aux_rand)

0 commit comments

Comments
 (0)