Update evm/src/cpu/kernel/tests/sha2.rs

Co-authored-by: Dima V <50062893+typ3c4t@users.noreply.github.com>
This commit is contained in:
Nicholas Ward 2022-09-23 11:56:18 -07:00
parent 19b14c2723
commit fa01f83e65

View File

@ -32,7 +32,7 @@ fn test_sha2() -> Result<()> {
initial_stack.reverse();
// Run the sha2 kernel code.
let result = run(&kernel.code, sha2, initial_stack, &kernel.prover_inputs)?;
let result = run_with_kernel(&kernel, sha2, initial_stack)?;
let actual = result.stack()[0];
// Check that the result is correct.