Get tracers working, returning results

This commit is contained in:
Austin Roberts
2021-06-25 14:57:24 -05:00
parent 97cf240fe0
commit ad8719a64a
2 changed files with 17 additions and 8 deletions
+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()