From 956eef4abed59a038694a58a8ee63356ef1dfdb8 Mon Sep 17 00:00:00 2001 From: philip-morlier Date: Mon, 11 Oct 2021 11:43:26 -0700 Subject: [PATCH] Updated eth/pluginhooks to acoomodate live tracing --- eth/plugin_hooks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/plugin_hooks.go b/eth/plugin_hooks.go index ce660c491..9107ed7c2 100644 --- a/eth/plugin_hooks.go +++ b/eth/plugin_hooks.go @@ -40,7 +40,7 @@ func (mt *metaTracer) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, func PluginUpdateBlockchainVMConfig(pl *plugins.PluginLoader, cfg *vm.Config) { tracerList := plugins.Lookup("LiveTracer", func(item interface{}) bool { - _, ok := item.(*vm.Tracer) + _, ok := item.(core.TracerResult) log.Info("Item is LiveTracer", "ok", ok, "type", reflect.TypeOf(item)) return ok })