Skip to content

Commit

Permalink
fix: fix benchmark error
Browse files Browse the repository at this point in the history
  • Loading branch information
imotai committed Dec 22, 2022
1 parent 2d092fd commit c021efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benches/merk.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn prove_1m_1_rand_rocksdb_noprune(b: &mut Bencher) {
let batch = make_batch_rand(proof_size, i);
let mut keys = Vec::with_capacity(batch.len());
for (key, _) in batch {
keys.push(merk::proofs::query::QueryItem::Key(key));
keys.push(merkdb::proofs::query::QueryItem::Key(key));
}
merk.prove_unchecked(keys).expect("prove failed");
i = (i + 1) % (initial_size / batch_size);
Expand Down

0 comments on commit c021efe

Please sign in to comment.