From 427cf201daa2af6c0be1bfded542f2cc974509bf Mon Sep 17 00:00:00 2001 From: devopsbo3 <69951731+devopsbo3@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:27:53 -0600 Subject: [PATCH] Revert "core/vm: minor code formatting (#28199)" This reverts commit d0a868184e290245d659a4959fe94577a14e766f. --- core/vm/instructions.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/vm/instructions.go b/core/vm/instructions.go index 56ff350201..2105201fce 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -251,7 +251,6 @@ func opKeccak256(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ( size.SetBytes(interpreter.hasherBuf[:]) return nil, nil } - func opAddress(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { scope.Stack.push(new(uint256.Int).SetBytes(scope.Contract.Address().Bytes())) return nil, nil @@ -268,7 +267,6 @@ func opOrigin(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]b scope.Stack.push(new(uint256.Int).SetBytes(interpreter.evm.Origin.Bytes())) return nil, nil } - func opCaller(pc *uint64, interpreter *EVMInterpreter, scope *ScopeContext) ([]byte, error) { scope.Stack.push(new(uint256.Int).SetBytes(scope.Contract.Caller().Bytes())) return nil, nil