Skip to content

Commit

Permalink
fix benchmark failures
Browse files Browse the repository at this point in the history
  • Loading branch information
conduition committed Sep 20, 2024
1 parent 51fa7d0 commit 5807cb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frost-core/src/benches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn bench_batch_verify<C: Ciphersuite, R: RngCore + CryptoRng + Clone>(
let msg = b"Bench";

let Item { vk, sig } = item;
let _ = vk.verify(msg, sig);
let _ = vk.verify(msg, &sig);
}
})
},
Expand All @@ -67,7 +67,7 @@ pub fn bench_batch_verify<C: Ciphersuite, R: RngCore + CryptoRng + Clone>(
let msg = b"Bench";

let Item { vk, sig } = item;
batch.queue((*vk, *sig, msg));
batch.queue((vk.clone(), sig.clone(), msg));
}
batch.verify(&mut rng)
})
Expand Down

0 comments on commit 5807cb4

Please sign in to comment.