Skip to content

Commit 6730ee8

Browse files
authored
Merge pull request #1926 from radik878/test/dleq-pass-message-in-tampered-proof
BIP374: in tests, pass message when verifying proof with message
2 parents 869fd77 + 90091a2 commit 6730ee8

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)