From d8282b1130aaf0251e5bab103767e2066a3df80a Mon Sep 17 00:00:00 2001 From: peter <1674920+peterbitfly@users.noreply.github.com> Date: Tue, 10 Sep 2024 11:13:44 +0000 Subject: [PATCH] chore(notifications): please linter --- backend/cmd/misc/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/cmd/misc/main.go b/backend/cmd/misc/main.go index 8af9a3499..fd77d8217 100644 --- a/backend/cmd/misc/main.go +++ b/backend/cmd/misc/main.go @@ -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) } @@ -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)