Skip to content

Commit 6def712

Browse files
committed
sweepbatcher: fix typos in annotations of methods
1 parent dc5d0fe commit 6def712

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sweepbatcher/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type BaseDB interface {
3838
GetSwapUpdates(ctx context.Context, swapHash []byte) (
3939
[]sqlc.SwapUpdate, error)
4040

41-
// FetchUnconfirmedSweepBatches fetches all the batches from the
41+
// GetUnconfirmedBatches fetches all the batches from the
4242
// database that are not in a confirmed state.
4343
GetUnconfirmedBatches(ctx context.Context) ([]sqlc.SweepBatch, error)
4444

sweepbatcher/store_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func NewStoreMock() *StoreMock {
2323
}
2424
}
2525

26-
// FetchUnconfirmedBatches fetches all the loop out sweep batches from the
26+
// FetchUnconfirmedSweepBatches fetches all the loop out sweep batches from the
2727
// database that are not in a confirmed state.
2828
func (s *StoreMock) FetchUnconfirmedSweepBatches(ctx context.Context) (
2929
[]*dbBatch, error) {

0 commit comments

Comments
 (0)