Browse Source

remove asserts

main
Srinath Setty 3 years ago
parent
commit
06b1c4d415
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      src/r1cs.rs

+ 0
- 4
src/r1cs.rs

@ -160,8 +160,6 @@ impl R1CSShape {
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);
@ -170,8 +168,6 @@ impl R1CSShape {
U.comm_W == comm_W && U.comm_E == comm_E
};
assert!(res_comm, true);
if res_eq && res_comm {
Ok(())
} else {

Loading…
Cancel
Save