Skip to content

Commit

Permalink
chore(deps): fix benches clippy warning
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Delgado <[email protected]>
  • Loading branch information
LNSD committed Dec 2, 2024
1 parent cedb211 commit f8b76e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tap_core/benches/timeline_aggretion_protocol_benchmark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
.collect::<Vec<_>>();

rav_group.bench_function(
&format!("Create RAV w/ 2^{} receipt's", log_number_of_receipts),
format!("Create RAV w/ 2^{} receipt's", log_number_of_receipts),
|b| {
b.iter(|| {
ReceiptAggregateVoucher::aggregate_receipts(
Expand All @@ -92,7 +92,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
.unwrap();

rav_group.bench_function(
&format!("Validate RAV w/ 2^{} receipt's", log_number_of_receipts),
format!("Validate RAV w/ 2^{} receipt's", log_number_of_receipts),
|b| b.iter(|| black_box(&signed_rav).verify(&domain_seperator, black_box(address))),
);
}
Expand Down

0 comments on commit f8b76e1

Please sign in to comment.