mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
linter: fix lint issues after linter v2 update
This commit is contained in:
parent
bd6271e633
commit
e98f733ef8
29 changed files with 65 additions and 59 deletions
|
|
@ -15,8 +15,8 @@ import (
|
|||
|
||||
type mockChainNotifier struct {
|
||||
lndclient.ChainNotifierClient
|
||||
|
||||
sync.Mutex
|
||||
|
||||
lnd *LndMockServices
|
||||
confRegistrations []*ConfRegistration
|
||||
wg sync.WaitGroup
|
||||
|
|
|
|||
|
|
@ -21,12 +21,12 @@ import (
|
|||
)
|
||||
|
||||
type mockLightningClient struct {
|
||||
lnd *LndMockServices
|
||||
wg sync.WaitGroup
|
||||
|
||||
// Embed lndclient's interface so that lndclient can be expanded
|
||||
// without the need to implement unused functions on the mock.
|
||||
lndclient.LightningClient
|
||||
|
||||
lnd *LndMockServices
|
||||
wg sync.WaitGroup
|
||||
}
|
||||
|
||||
// PayInvoice pays an invoice.
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ import (
|
|||
|
||||
type mockRouter struct {
|
||||
lndclient.RouterClient
|
||||
|
||||
lnd *LndMockServices
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue