From ab95fd2354ff61f53eed8858530bf42002c692a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Tue, 16 Apr 2024 15:56:45 +0300 Subject: [PATCH] core/vm: fix nit --- core/vm/instructions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 9321bada26..a062bb15ff 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -892,7 +892,7 @@ func makePush(size uint64, pushByteSize int) executionFunc { var ( codeLen = len(scope.Contract.Code) start = min(codeLen, int(*pc+1)) - end = min(start+pushByteSize, codeLen) + end = min(codeLen, start+pushByteSize) ) scope.Stack.push(new(uint256.Int).SetBytes( common.RightPadBytes(