From 676a483c06c4ec004def5f9ed45eacddb7d34310 Mon Sep 17 00:00:00 2001 From: Nicholas Ward Date: Tue, 14 Mar 2023 12:34:51 -0700 Subject: [PATCH] fix --- evm/src/cpu/kernel/asm/curve/secp256k1/ecrecover.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evm/src/cpu/kernel/asm/curve/secp256k1/ecrecover.asm b/evm/src/cpu/kernel/asm/curve/secp256k1/ecrecover.asm index c243a748..11ec27c8 100644 --- a/evm/src/cpu/kernel/asm/curve/secp256k1/ecrecover.asm +++ b/evm/src/cpu/kernel/asm/curve/secp256k1/ecrecover.asm @@ -134,11 +134,11 @@ pubkey_to_addr: // stack: hash, v, r, s, retdest DUP2 // stack: v, hash, v, r, s, retdest - %eq_consts(27) + %eq_const(27) // stack: v==27, hash, v, r, s, retdest DUP3 // stack: v, v==27, hash, v, r, s, retdest - %eq_consts(28) + %eq_const(28) // stack: v==28, v==27, hash, v, r, s, retdest ADD // OR // stack: (v==28 || v==27), hash, v, r, s, retdest