Skip to content

Commit c036c2a

Browse files
committed
sweepbatcher: fix mock TotalSweptAmount
Forgot to return the calculated total value.
1 parent 7636ffd commit c036c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sweepbatcher/store_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,5 +212,5 @@ func (s *StoreMock) TotalSweptAmount(ctx context.Context, batchID int32) (
212212
}
213213
}
214214

215-
return 0, nil
215+
return total, nil
216216
}

0 commit comments

Comments
 (0)