Skip to content

Commit

Permalink
Fix lint missed earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
sergerad committed May 19, 2023
1 parent 80ba145 commit 29a0cba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tracker/event_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,16 @@ func (e *EventTracker) Start(ctx context.Context) error {
go common.RetryForever(ctx, time.Second, func(context.Context) error {
if err := blockTracker.Init(); err != nil {
e.logger.Error("failed to init blocktracker", "error", err)

return err
}

if err := blockTracker.Start(); err != nil {
e.logger.Error("failed to start blocktracker", "error", err)

return err
}

return nil
})

Expand All @@ -105,8 +108,10 @@ func (e *EventTracker) Start(ctx context.Context) error {
go common.RetryForever(ctx, time.Second, func(context.Context) error {
if err := tt.Sync(ctx); err != nil {
e.logger.Error("failed to sync", "error", err)

return err
}

return nil
})

Expand Down

0 comments on commit 29a0cba

Please sign in to comment.