Skip to content

Commit

Permalink
Merge pull request #48 from spacemeshos/fix-fmt
Browse files Browse the repository at this point in the history
fix fmt after previous merge
  • Loading branch information
pigmej authored May 8, 2023
2 parents 8b05e71 + bc73f00 commit de6222b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
10 changes: 2 additions & 8 deletions benches/verifying.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,9 @@ fn verifying(c: &mut Criterion) {
};
let num_labels = metadata.num_units as u64 * metadata.labels_per_unit;

for (k2, k3) in itertools::iproduct!(
[200, 300],
[50, 100]
) {
for (k2, k3) in itertools::iproduct!([200, 300], [50, 100]) {
c.bench_with_input(
BenchmarkId::new(
"verify",
format!("k2={k2}/k3={k3}"),
),
BenchmarkId::new("verify", format!("k2={k2}/k3={k3}")),
&(k2, k3),
|b, &(k2, k3)| {
let proof = Proof::new(
Expand Down
2 changes: 1 addition & 1 deletion src/verification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ impl VerifyingParams {
pub fn verify(
proof: &Proof,
metadata: &ProofMetadata,
params: VerifyingParams
params: VerifyingParams,
) -> Result<(), String> {
let challenge = metadata.challenge;

Expand Down

0 comments on commit de6222b

Please sign in to comment.