Aleterations and additions to plugeth injection comments.

This commit is contained in:
philip-morlier
2023-01-27 10:03:01 -08:00
parent 27dce1a2a2
commit 294066e632
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -886,7 +886,6 @@ func (api *API) traceTx(ctx context.Context, message core.Message, txctx *Contex
// Get the tracer from the plugin loader
//begin PluGeth code injection
if tr, ok := getPluginTracer(*config.Tracer); ok {
//end PluGeth code injection
tracer = tr(statedb, vmctx)
} else {
tracer, err = New(*config.Tracer, txctx, config.TracerConfig)
@@ -894,6 +893,7 @@ func (api *API) traceTx(ctx context.Context, message core.Message, txctx *Contex
return nil, err
}
}
// end PluGeth injection
}
// Define a meaningful timeout of a single transaction trace
if config.Timeout != nil {