core/vm: rename opSuicide to opSelfdestruct (#24022)

The opcode was renamed in the codebase in 2017, but the functions were kept unchanged.
This commit is contained in:
Alex Beregszaszi
2021-12-01 09:33:29 +00:00
committed by GitHub
parent 9393d1fb5d
commit 2be129b5cf
2 changed files with 2 additions and 2 deletions

View File

@ -996,7 +996,7 @@ func newFrontierInstructionSet() JumpTable {
memorySize: memoryReturn,
},
SELFDESTRUCT: {
execute: opSuicide,
execute: opSelfdestruct,
dynamicGas: gasSelfdestruct,
minStack: minStack(1, 0),
maxStack: maxStack(1, 0),