Skip to content

Commit

Permalink
fix:multipiler->multipiler
Browse files Browse the repository at this point in the history
  • Loading branch information
AdventureSeeker987 committed Dec 9, 2023
1 parent 400122a commit f5c7121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hashes/zkevm/src/keccak/component/encode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ pub fn pack_native_input<F: Field>(bytes: &[u8]) -> Vec<Vec<F>> {
chunk
.chunks(num_word_per_witness)
.map(|c| {
c.iter().zip(multipliers.iter()).fold(F::ZERO, |acc, (word, multipiler)| {
acc + F::from_u128(*word) * multipiler
c.iter().zip(multipliers.iter()).fold(F::ZERO, |acc, (word, multiplier)| {
acc + F::from_u128(*word) * multiplier
})
})
.collect_vec()
Expand Down

0 comments on commit f5c7121

Please sign in to comment.