diff --git a/core/vm/instructions.go b/core/vm/instructions.go index ccc3e383b298..3a361eb0e8c4 100644 --- a/core/vm/instructions.go +++ b/core/vm/instructions.go @@ -783,7 +783,7 @@ func opStop(pc *uint64, interpreter *EVMInterpreter, callContext *callCtx) ([]by return nil, errStopToken } -func opSuicide(pc *uint64, interpreter *EVMInterpreter, callContext *callCtx) ([]byte, error) { +func opSelfdestruct(pc *uint64, interpreter *EVMInterpreter, callContext *callCtx) ([]byte, error) { if interpreter.readOnly { return nil, ErrWriteProtection } diff --git a/core/vm/jump_table.go b/core/vm/jump_table.go index c1b9fd8470b6..1b6f6d1d4559 100644 --- a/core/vm/jump_table.go +++ b/core/vm/jump_table.go @@ -977,7 +977,7 @@ func newFrontierInstructionSet() JumpTable { memorySize: memoryReturn, }, SELFDESTRUCT: { - execute: opSuicide, + execute: opSelfdestruct, dynamicGas: gasSelfdestruct, minStack: minStack(1, 0), maxStack: maxStack(1, 0),