Skip to content

Commit

Permalink
removing the firehose switch case from the NewTracer method as we are…
Browse files Browse the repository at this point in the history
… using custom hooks for the firehose
  • Loading branch information
Eduard-Voiculescu committed Oct 22, 2024
1 parent 0803635 commit bd3ef46
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions x/evm/types/tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@ func NewTracer(tracer string, msg *core.Message, rules params.Rules) *tracers.Tr
hooks = logger.NewMarkdownLogger(logCfg, os.Stdout).Hooks() // TODO: Stderr ?
case TracerStruct:
hooks = logger.NewStructLogger(logCfg).Hooks()
case Firehose:
hooks, _ = tracers.LiveDirectory.New("firehose", nil)
default:
// Use noop tracer by default
hooks, _ = tracers.LiveDirectory.New("noop", nil)
Expand Down

0 comments on commit bd3ef46

Please sign in to comment.