File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -575,7 +575,7 @@ pub fn ell_coeffs_montgomery<C: CircuitContext>(
575575 wire_c : z_is_zero,
576576 gate_type : crate :: GateType :: And ,
577577 } ) ;
578- z0_is_zero
578+ z_is_zero
579579 } ;
580580
581581 ( ellc, is_in_sg)
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ pub fn groth16_verify<C: CircuitContext>(
7272 let is_valid_fr = {
7373 let mut and_all_wires = TRUE_WIRE ;
7474 public. iter ( ) . for_each ( |pubinp| {
75- let r : BigUint = ark_bn254:: Fr :: MODULUS . into ( ) ;
76- let valid_pubinp = bigint:: less_than_constant ( circuit, pubinp, & r ) ;
75+ let q : BigUint = ark_bn254:: Fr :: MODULUS . into ( ) ;
76+ let valid_pubinp = bigint:: less_than_constant ( circuit, pubinp, & q ) ;
7777 let new_wire = circuit. issue_wire ( ) ;
7878 circuit. add_gate ( crate :: Gate {
7979 wire_a : and_all_wires,
You can’t perform that action at this time.
0 commit comments