Skip to content

Commit 65887a7

Browse files
committed
test
1 parent 7233821 commit 65887a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_n_weso_verifier.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ def prove_n_weso(discriminant_challenge, x, discriminant_size, form_size, iters,
4040
for x, y, proof in reversed(partials):
4141
b_hex = get_b_from_n_wesolowski(discriminant, x, y + proof, iters_chunk, 0)
4242
b = int(b_hex, 16)
43-
assert verify_wesolowski(discriminant, x, y, proof, iters_chunk)
43+
if !verify_wesolowski(discriminant, x, y, proof, iters_chunk):
44+
print(f"verify_wesolowski discriminant {discriminant} x {x} y {y} proof {proof} iters_chunk {iters_chunk}")
45+
assert False
4446
is_valid, y_from_compression = verify_n_wesolowski_with_b(
4547
discriminant,
4648
b_hex,

0 commit comments

Comments
 (0)