From 7e2b22ec98238302e59524fba28ca6e5d2101fed Mon Sep 17 00:00:00 2001 From: Martin Holst Swende Date: Tue, 16 Apr 2024 12:13:33 +0200 Subject: [PATCH] core/vm: go format --- core/vm/instructions.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 0729d3a7f7..9321bada26 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -890,9 +890,9 @@ func opPush1(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]by func makePush(size uint64, pushByteSize int) executionFunc { return func(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { var ( - codeLen = len(scope.Contract.Code) - start = min(codeLen, int(*pc+1)) - end = min(start+pushByteSize, codeLen) + codeLen = len(scope.Contract.Code) + start = min(codeLen, int(*pc+1)) + end = min(start+pushByteSize, codeLen) ) scope.Stack.push(new(uint256.Int).SetBytes( common.RightPadBytes(