mirror of
https://github.com/arnaucube/Nova.git
synced 2026-01-11 16:41:28 +01:00
remove asserts
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user