remove asserts
Srinath Setty srinath@microsoft.com
Tue, 27 Jul 2021 16:30:08 -0700
1 files changed,
0 insertions(+),
4 deletions(-)
jump to
M
src/r1cs.rs
→
src/r1cs.rs
@@ -160,8 +160,6 @@
res == 0 }; - assert!(res_eq, true); - // verify if comm_E and comm_W are commitments to E and W let res_comm: bool = { let comm_W = W.W.commit(&gens.gens_W);@@ -169,8 +167,6 @@ let comm_E = W.E.commit(&gens.gens_E);
U.comm_W == comm_W && U.comm_E == comm_E }; - - assert!(res_comm, true); if res_eq && res_comm { Ok(())