1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-03-09 15:53:54 +00:00

Merge pull request #2002 from MozirDmitriy/fix/bip340-test-harness-keygen-failure-flag

This commit is contained in:
Jon Atack
2025-10-16 04:02:23 -07:00
committed by GitHub

View File

@@ -162,6 +162,7 @@ def test_vectors() -> bool:
print(' * Failed key generation.')
print(' Expected key:', pubkey.hex().upper())
print(' Actual key:', pubkey_actual.hex().upper())
all_passed = False
aux_rand = bytes.fromhex(aux_rand_hex)
try:
sig_actual = schnorr_sign(msg, seckey, aux_rand)