fix indent

This commit is contained in:
Sina Mahmoodi 2024-09-16 13:29:10 +02:00
parent b87c4fe342
commit 702a42feea
1 changed files with 3 additions and 3 deletions

View File

@ -32,11 +32,11 @@ Tracers receive state changes events from the node. The tracer was so far expect
```go ```go
func init() { func init() {
tracers.LiveDirectory.Register("test", func (cfg json.RawMessage) (*tracing.Hooks, error) { tracers.LiveDirectory.Register("test", func (cfg json.RawMessage) (*tracing.Hooks, error) {
hooks, err := newTestTracer(cfg) hooks, err := newTestTracer(cfg)
if err != nil { if err != nil {
return nil, err return nil, err
} }
return tracing.WrapWithJournal(hooks) return tracing.WrapWithJournal(hooks)
}) })
} }
``` ```