Skip to content

Commit

Permalink
Fix benchmark batch verification (tari-project#33)
Browse files Browse the repository at this point in the history
The benchmark for batch verification always runs against a single proof due to a typo. This PR fixes the error.
  • Loading branch information
AaronFeickert authored Jan 10, 2024
1 parent fb3e2ef commit 55a334b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/triptych.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ fn verify_batch_proof(c: &mut Criterion) {
);
group.bench_function(&label, |b| {
// Generate data
let (witnesses, statements, transcripts) = generate_data(&params, 1, &mut rng);
let (witnesses, statements, transcripts) = generate_data(&params, batch, &mut rng);

// Generate the proofs
let proofs = izip!(witnesses.iter(), statements.iter(), transcripts.clone().iter_mut())
Expand Down

0 comments on commit 55a334b

Please sign in to comment.