Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Fix small issue in example
Browse files Browse the repository at this point in the history
  • Loading branch information
leolara committed Apr 2, 2024
1 parent 428f6db commit c81ab28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/keccak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2316,7 +2316,7 @@ fn keccak_plaf(circuit_param: KeccakCircuit, k: u32) {
let (plaf, plaf_wit_gen) = chiquito2Plaf(circuit, k, false);

let mut plaf = plaf;
plaf.set_challange_alias(0, "r_keccak".to_string());
plaf.set_challenge_alias(0, "r_keccak".to_string());
let wit = plaf_wit_gen.generate(Some(wit_gen));
write_files("keccak_output", &plaf, &wit).unwrap();
}
Expand All @@ -2333,7 +2333,7 @@ fn keccak_run(circuit_param: KeccakCircuit, k: u32) -> bool {
);

let prover = MockProver::<Fr>::run(k, &circuit, Vec::new()).unwrap();
let result = prover.verify_par();
let result = prover.verify();

println!("result = {:#?}", result);

Expand Down

0 comments on commit c81ab28

Please sign in to comment.