mirror of
https://github.com/bitcoin/bips.git
synced 2025-11-17 14:27:41 +00:00
test(reference): pass message when verifying tampered proof
This commit is contained in:
parent
4f1359d0f8
commit
90091a2d06
@ -144,5 +144,5 @@ class DLEQTests(unittest.TestCase):
|
||||
proof_damaged[random.randrange(len(proof))] ^= 1 << (
|
||||
random.randrange(8)
|
||||
)
|
||||
success = dleq_verify_proof(A, B, C, bytes(proof_damaged))
|
||||
success = dleq_verify_proof(A, B, C, bytes(proof_damaged), m=message)
|
||||
self.assertFalse(success)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user