Skip to content

Commit 90091a2

Browse files
authored
test(reference): pass message when verifying tampered proof
1 parent 4f1359d commit 90091a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0374/reference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,5 +144,5 @@ def test_dleq(self):
144144
proof_damaged[random.randrange(len(proof))] ^= 1 << (
145145
random.randrange(8)
146146
)
147-
success = dleq_verify_proof(A, B, C, bytes(proof_damaged))
147+
success = dleq_verify_proof(A, B, C, bytes(proof_damaged), m=message)
148148
self.assertFalse(success)

0 commit comments

Comments
 (0)