forked from cerc-io/plugeth
Modified pluginOpCodeSelect injection
This commit is contained in:
parent
325fc8351e
commit
9974ce6f92
@ -98,7 +98,9 @@ func NewEVMInterpreter(evm *EVM) *EVMInterpreter {
|
||||
}
|
||||
evm.Config.ExtraEips = extraEips
|
||||
// begin PluGeth injection
|
||||
table = pluginOpCodeSelect(table)
|
||||
if pluginTable := pluginOpCodeSelect(table); pluginTable != nil {
|
||||
table = pluginTable
|
||||
}
|
||||
// end PluGeth injection
|
||||
return &EVMInterpreter{evm: evm, table: table}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user