Update evm/src/witness/util.rs

Co-authored-by: Jacqueline Nabaglo <jakub@mirprotocol.org>
This commit is contained in:
Dima V 2023-01-11 05:45:08 -08:00 committed by GitHub
parent 698ab6e749
commit 068f74854a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ pub(crate) fn stack_peek<F: Field>(state: &GenerationState<F>, i: usize) -> Opti
)))
}
/// Peak at the entire stack.
/// Peek at the entire stack.
pub(crate) fn stack_peeks<F: Field>(state: &GenerationState<F>) -> Option<Vec<U256>> {
let n = state.registers.stack_len;
let mut stack: Vec<U256> = vec![];