arnaucube
arnaucube/NovaPublic Self-hosted repository
remove asserts
Srinath Setty srinath@microsoft.com
Tue, 27 Jul 2021 16:30:08 -0700
commit

06b1c4d415740f7832efd983004296ae111eea20

parent

bb4079e4f03b142e8e4eb2faeea51aab36a8c845

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(())