diff --git a/sweepbatcher/store.go b/sweepbatcher/store.go index bdbcb50c..81f47b4c 100644 --- a/sweepbatcher/store.go +++ b/sweepbatcher/store.go @@ -38,7 +38,7 @@ type BaseDB interface { GetSwapUpdates(ctx context.Context, swapHash []byte) ( []sqlc.SwapUpdate, error) - // FetchUnconfirmedSweepBatches fetches all the batches from the + // GetUnconfirmedBatches fetches all the batches from the // database that are not in a confirmed state. GetUnconfirmedBatches(ctx context.Context) ([]sqlc.SweepBatch, error) diff --git a/sweepbatcher/store_mock.go b/sweepbatcher/store_mock.go index 05380341..57cdd34b 100644 --- a/sweepbatcher/store_mock.go +++ b/sweepbatcher/store_mock.go @@ -23,7 +23,7 @@ func NewStoreMock() *StoreMock { } } -// FetchUnconfirmedBatches fetches all the loop out sweep batches from the +// FetchUnconfirmedSweepBatches fetches all the loop out sweep batches from the // database that are not in a confirmed state. func (s *StoreMock) FetchUnconfirmedSweepBatches(ctx context.Context) ( []*dbBatch, error) {