Skip to content

Commit

Permalink
chore(notifications): please linter
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbitfly committed Sep 10, 2024
1 parent 454534a commit d8282b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/cmd/misc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ func Run() {
case "fix-ens-addresses":
err = fixEnsAddresses(erigonClient)
case "collect-notifications":
err = collectNotifications(opts.StartEpoch, opts.EndEpoch)
err = collectNotifications(opts.StartEpoch)
default:
log.Fatal(nil, fmt.Sprintf("unknown command %s", opts.Command), 0)
}
Expand All @@ -470,7 +470,7 @@ func Run() {
}
}

func collectNotifications(startEpoch, endEpoch uint64) error {
func collectNotifications(startEpoch uint64) error {
epoch := startEpoch

log.Infof("collecting notifications for epoch %v", epoch)
Expand Down

0 comments on commit d8282b1

Please sign in to comment.