Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke committed Oct 8, 2024
1 parent 65887a7 commit 57afce1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_n_weso_verifier.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def prove_n_weso(discriminant_challenge, x, discriminant_size, form_size, iters,
for x, y, proof in reversed(partials):
b_hex = get_b_from_n_wesolowski(discriminant, x, y + proof, iters_chunk, 0)
b = int(b_hex, 16)
if !verify_wesolowski(discriminant, x, y, proof, iters_chunk):
if not verify_wesolowski(discriminant, x, y, proof, iters_chunk):
print(f"verify_wesolowski discriminant {discriminant} x {x} y {y} proof {proof} iters_chunk {iters_chunk}")
assert False
is_valid, y_from_compression = verify_n_wesolowski_with_b(
Expand Down

0 comments on commit 57afce1

Please sign in to comment.