mirror of
https://github.com/bitcoin/bips.git
synced 2025-11-03 14:19:40 +00:00
Merge pull request #2002 from MozirDmitriy/fix/bip340-test-harness-keygen-failure-flag
This commit is contained in:
commit
1d186274ea
@ -162,6 +162,7 @@ def test_vectors() -> bool:
|
|||||||
print(' * Failed key generation.')
|
print(' * Failed key generation.')
|
||||||
print(' Expected key:', pubkey.hex().upper())
|
print(' Expected key:', pubkey.hex().upper())
|
||||||
print(' Actual key:', pubkey_actual.hex().upper())
|
print(' Actual key:', pubkey_actual.hex().upper())
|
||||||
|
all_passed = False
|
||||||
aux_rand = bytes.fromhex(aux_rand_hex)
|
aux_rand = bytes.fromhex(aux_rand_hex)
|
||||||
try:
|
try:
|
||||||
sig_actual = schnorr_sign(msg, seckey, aux_rand)
|
sig_actual = schnorr_sign(msg, seckey, aux_rand)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user