From cacc073e4ec95ada985fb836ac51e6e83428d529 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Mon, 6 Jun 2022 17:28:44 -0700 Subject: [PATCH] fix --- evm/src/keccak/keccak_stark.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/evm/src/keccak/keccak_stark.rs b/evm/src/keccak/keccak_stark.rs index 6c2674b4..1631460f 100644 --- a/evm/src/keccak/keccak_stark.rs +++ b/evm/src/keccak/keccak_stark.rs @@ -74,10 +74,10 @@ impl, const D: usize> KeccakStark { } } - self.generate_trace_rows_for_round(&mut rows[0], 0); + self.generate_trace_row_for_round(&mut rows[0], 0); for round in 1..24 { self.copy_output_to_input(rows[round - 1], &mut rows[round]); - self.generate_trace_rows_for_round(&mut rows[round], round); + self.generate_trace_row_for_round(&mut rows[round], round); } rows @@ -108,7 +108,7 @@ impl, const D: usize> KeccakStark { } } - fn generate_trace_rows_for_round(&self, row: &mut [F; NUM_REGISTERS], round: usize) { + fn generate_trace_row_for_round(&self, row: &mut [F; NUM_REGISTERS], round: usize) { row[reg_step(round)] = F::ONE; // Populate C partial and C.