Skip to content

Commit

Permalink
Fix lints in log_poller.go
Browse files Browse the repository at this point in the history
  • Loading branch information
reductionista committed Dec 16, 2024
1 parent 49c89de commit f119c69
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/solana/logpoller/log_poller.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ func NewLogPoller(lggr logger.SugaredLogger, orm ORM, cl internal.Loader[client.
return &lp
}

func (lp LogPoller) Process(event ProgramEvent) error {
func (lp *LogPoller) Process(event ProgramEvent) error {
// process stream of events coming from event loader

lp.events = append(lp.events, event)
return nil
}

Expand Down Expand Up @@ -114,9 +114,8 @@ func (lp *LogPoller) loadFilters(ctx context.Context) error {
if err != nil {
lp.lggr.Errorw("Failed loading filters in init logpoller loop, retrying later", "err", err)
}

return nil
}
// unreachable
}

func (lp *LogPoller) run() {
Expand Down

0 comments on commit f119c69

Please sign in to comment.