From c036c2adbdbe04e951032c1ebadf5b67a895186b Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 8 Apr 2025 18:07:13 -0300 Subject: [PATCH] sweepbatcher: fix mock TotalSweptAmount Forgot to return the calculated total value. --- sweepbatcher/store_mock.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sweepbatcher/store_mock.go b/sweepbatcher/store_mock.go index 90896aac..0f6c5e3c 100644 --- a/sweepbatcher/store_mock.go +++ b/sweepbatcher/store_mock.go @@ -212,5 +212,5 @@ func (s *StoreMock) TotalSweptAmount(ctx context.Context, batchID int32) ( } } - return 0, nil + return total, nil }