Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5807cb4

Browse files
committedSep 20, 2024·
fix benchmark failures
1 parent 51fa7d0 commit 5807cb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎frost-core/src/benches.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn bench_batch_verify<C: Ciphersuite, R: RngCore + CryptoRng + Clone>(
5050
let msg = b"Bench";
5151

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

6969
let Item { vk, sig } = item;
70-
batch.queue((*vk, *sig, msg));
70+
batch.queue((vk.clone(), sig.clone(), msg));
7171
}
7272
batch.verify(&mut rng)
7373
})

0 commit comments

Comments
 (0)
Please sign in to comment.