From 8baca5b4406c002301c3dc57a4f912a7fe758ec2 Mon Sep 17 00:00:00 2001 From: PJ Date: Mon, 26 Feb 2024 15:13:37 +0100 Subject: [PATCH] worker: fix lint --- worker/mocks_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/worker/mocks_test.go b/worker/mocks_test.go index e38bd64c0..80c1d5443 100644 --- a/worker/mocks_test.go +++ b/worker/mocks_test.go @@ -55,6 +55,9 @@ var _ alerts.Alerter = (*alerterMock)(nil) type alerterMock struct{} +func (*alerterMock) Alerts(_ context.Context, opts alerts.AlertsOpts) (resp alerts.AlertsResponse, err error) { + return alerts.AlertsResponse{}, nil +} func (*alerterMock) RegisterAlert(context.Context, alerts.Alert) error { return nil } func (*alerterMock) DismissAlerts(context.Context, ...types.Hash256) error { return nil }