Skip to content

Commit

Permalink
udpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Koukyosyumei committed Dec 29, 2024
1 parent 8a733b6 commit 6c4e17d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions myzkp/src/modules/zksnark/tutorial_snark/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pub mod pinocchio;
pub mod protocol_1;
pub mod protocol_2;
pub mod protocol_3;
pub mod protocol_4;
pub mod protocol_5;
//pub mod protocol_1;
//pub mod protocol_2;
//pub mod protocol_3;
//pub mod protocol_4;
//pub mod protocol_5;
2 changes: 1 addition & 1 deletion myzkp/src/modules/zksnark/tutorial_snark/pinocchio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ pub fn get_shifted_h(
let mut h = (&ell * &r - o) / qap.t.clone();
h += ell * delta_r;
h += r.clone() * delta_ell.clone();
//h += qap.t.clone() * (delta_ell.clone() * delta_r.clone());
h += qap.t.clone() * (delta_ell.clone() * delta_r.clone());
//h = h - Polynomial::<FqOrder>::one() * delta_o.clone();
h
}
Expand Down

0 comments on commit 6c4e17d

Please sign in to comment.