Modified pluginOpCodeSelect injection

This commit is contained in:
philip-morlier 2023-10-30 10:43:04 -07:00
parent 325fc8351e
commit 9974ce6f92

View File

@ -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}
}