From d3059b60d71403acd91a20f55320b0d2e201b28a Mon Sep 17 00:00:00 2001 From: Lazar Date: Mon, 23 Dec 2024 17:57:03 +0100 Subject: [PATCH] lint --- .../stakingeventwatcher/stakingeventwatcher_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/btcstaking-tracker/stakingeventwatcher/stakingeventwatcher_test.go b/btcstaking-tracker/stakingeventwatcher/stakingeventwatcher_test.go index b96a560..347121b 100644 --- a/btcstaking-tracker/stakingeventwatcher/stakingeventwatcher_test.go +++ b/btcstaking-tracker/stakingeventwatcher/stakingeventwatcher_test.go @@ -72,8 +72,10 @@ func TestHandlingDelegations(t *testing.T) { DoAndReturn(func(_, _, _ interface{}) ([]Delegation, error) { if callCounter < maxCalls { callCounter++ + return delegations, nil } + return nil, nil }).AnyTimes()