Get tracers working, returning results

This commit is contained in:
Austin Roberts committed 2021-06-25 14:57:24 -05:00
1 parent 97cf240fe0
commit ad8719a64a
2 files changed
+17 -8

No files matched your search

+3
View File
@@ -851,6 +851,9 @@ func (api *API) traceTx(ctx context.Context, message core.Message, txctx *txTrac
StructLogs: ethapi.FormatLogs(tracer.StructLogs()),
}, nil
case plugins.TracerResult:
return tracer.GetResult()
case *Tracer:
return tracer.GetResult()