Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix fmt after previous merge #48

Merged
merged 1 commit into from
May 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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