Skip to content
This repository was archived by the owner on Jul 5, 2024. It is now read-only.

Commit cfc27d3

Browse files
missed lt
1 parent 7357c8a commit cfc27d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zkevm-circuits/src/evm_circuit/util/math_gadget/comparison.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl<F: Field, const N_BYTES: usize> ComparisonGadget<F, N_BYTES> {
2121
lhs: Expression<F>,
2222
rhs: Expression<F>,
2323
) -> Self {
24-
let lt = LtGadget::<F, N_BYTES>::construct(cb, lhs, rhs);
24+
let lt = cb.is_lt(lhs, rhs);
2525
let eq = cb.is_zero(sum::expr(&lt.diff_bytes()));
2626

2727
Self { lt, eq }

0 commit comments

Comments
 (0)