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

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hero78119 committed May 22, 2023
1 parent 4d0a16d commit fb74647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zkevm-circuits/src/util/word.rs
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ impl<F: Field> Word<Expression<F>> {

// No overflow check
pub fn expr_unchecked(&self) -> Expression<F> {
self.lo().clone() * (1 << 128).expr() + self.hi().clone()
self.lo().clone() + self.hi().clone() * (1 << 128).expr()
}
}

Expand Down

0 comments on commit fb74647

Please sign in to comment.