forked from cerc-io/plugeth
updated eth/tracers/plugin_hooks.go to reflect attempts to address Wednesday 9/15/21 problems with tracer plugin
This commit is contained in:
parent
ea0f27c92d
commit
86fd4f27e2
@ -13,7 +13,7 @@ import (
|
||||
|
||||
func GetPluginTracer(pl *plugins.PluginLoader, name string) (func(*state.StateDB) interfaces.TracerResult, bool) {
|
||||
tracers := pl.Lookup("Tracers", func(item interface{}) bool {
|
||||
_, ok := item.(*map[string]func(*state.StateDB) interfaces.TracerResult)
|
||||
_, ok := item.(*map[string]func(core.StateDB) core.TracerResult)
|
||||
if !ok {
|
||||
log.Warn("Found tracer that did not match type", "tracer", reflect.TypeOf(item))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user