remove asserts

This commit is contained in:
Srinath Setty
2021-07-27 16:30:08 -07:00
parent bb4079e4f0
commit 06b1c4d415

View File

@@ -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 {