From 6def712dfead9940669b409e56f478720a0c3643 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Tue, 14 May 2024 11:41:34 -0300 Subject: [PATCH] sweepbatcher: fix typos in annotations of methods --- sweepbatcher/store.go | 2 +- sweepbatcher/store_mock.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {