mirror of
https://github.com/lightninglabs/loop.git
synced 2026-08-13 12:33:03 +02:00
Merge pull request #821 from bhandras/support-incomplete-mocks
This commit is contained in:
commit
35d27fa0e2
5 changed files with 10 additions and 0 deletions
|
|
@ -13,6 +13,8 @@ import (
|
|||
)
|
||||
|
||||
type mockChainNotifier struct {
|
||||
lndclient.ChainNotifierClient
|
||||
|
||||
sync.Mutex
|
||||
lnd *LndMockServices
|
||||
confRegistrations []*ConfRegistration
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ import (
|
|||
)
|
||||
|
||||
type mockInvoices struct {
|
||||
lndclient.InvoicesClient
|
||||
|
||||
lnd *LndMockServices
|
||||
wg sync.WaitGroup
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@ import (
|
|||
)
|
||||
|
||||
type mockSigner struct {
|
||||
lndclient.SignerClient
|
||||
|
||||
lnd *LndMockServices
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@ var (
|
|||
)
|
||||
|
||||
type mockVersioner struct {
|
||||
lndclient.VersionerClient
|
||||
|
||||
version *verrpc.Version
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,8 @@ import (
|
|||
var DefaultMockFee = chainfee.SatPerKWeight(10000)
|
||||
|
||||
type mockWalletKit struct {
|
||||
lndclient.WalletKitClient
|
||||
|
||||
lnd *LndMockServices
|
||||
keyIndex int32
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue