2
0
mirror of https://github.com/lightninglabs/loop synced 2024-11-08 01:10:29 +00:00

sweepbatcher: fix typos in annotations of methods

This commit is contained in:
Boris Nagaev 2024-05-14 11:41:34 -03:00
parent dc5d0fe30c
commit 6def712dfe
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ type BaseDB interface {
GetSwapUpdates(ctx context.Context, swapHash []byte) ( GetSwapUpdates(ctx context.Context, swapHash []byte) (
[]sqlc.SwapUpdate, error) []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. // database that are not in a confirmed state.
GetUnconfirmedBatches(ctx context.Context) ([]sqlc.SweepBatch, error) GetUnconfirmedBatches(ctx context.Context) ([]sqlc.SweepBatch, error)

View File

@ -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. // database that are not in a confirmed state.
func (s *StoreMock) FetchUnconfirmedSweepBatches(ctx context.Context) ( func (s *StoreMock) FetchUnconfirmedSweepBatches(ctx context.Context) (
[]*dbBatch, error) { []*dbBatch, error) {