diff --git a/benches/linear_proof.rs b/benches/linear_proof.rs index cd75a590..b262a920 100644 --- a/benches/linear_proof.rs +++ b/benches/linear_proof.rs @@ -64,7 +64,7 @@ fn create_linear_proof_helper(c: &mut Criterion) { G.clone(), &F, &B, - ); + ).unwrap(); }) }, TEST_SIZES, @@ -141,7 +141,7 @@ fn linear_verify(c: &mut Criterion) { G.clone(), &F, &B, - ); + ).unwrap(); (proof, C) }; @@ -150,7 +150,7 @@ fn linear_verify(c: &mut Criterion) { bench.iter(|| { let mut verifier_transcript = Transcript::new(b"LinearProofBenchmark"); proof - .verify(*n, &mut verifier_transcript, &C, &G, &F, &B, b.clone()) + .verify(&mut verifier_transcript, &C, &G, &F, &B, b.clone()) .unwrap(); }); },