Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ggutoski committed Sep 6, 2024
1 parent 52e7c17 commit 6353895
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vid/src/advz/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ use ark_std::{
rand::{CryptoRng, RngCore},
vec,
};
use core::ops::AddAssign;
use jf_pcs::{
checked_fft_size,
prelude::{Commitment, UnivariateUniversalParams},
Expand Down Expand Up @@ -79,7 +80,7 @@ fn sad_path_verify_share_corrupt_share() {
.unwrap()
.first_mut()
.unwrap()
.double_in_place();
.add_assign(<Bn254 as Pairing>::ScalarField::ONE);
advz.verify_share(&share_bad_eval, &common, &commit)
.unwrap()
.expect_err("bad share value should fail verification");
Expand All @@ -96,7 +97,7 @@ fn sad_path_verify_share_corrupt_share() {
.unwrap()
.last_mut()
.unwrap()
.double_in_place();
.add_assign(<Bn254 as Pairing>::ScalarField::ONE);
advz.verify_share(&share_bad_eval, &common, &commit)
.unwrap()
.expect_err("bad share value should fail verification");
Expand Down

0 comments on commit 6353895

Please sign in to comment.