Merge pull request #821 from bhandras/support-incomplete-mocks

This commit is contained in:
András Bánki-Horváth 2024-09-02 19:25:55 +02:00 committed by GitHub
commit 35d27fa0e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 10 additions and 0 deletions

View file

@ -13,6 +13,8 @@ import (
)
type mockChainNotifier struct {
lndclient.ChainNotifierClient
sync.Mutex
lnd *LndMockServices
confRegistrations []*ConfRegistration

View file

@ -15,6 +15,8 @@ import (
)
type mockInvoices struct {
lndclient.InvoicesClient
lnd *LndMockServices
wg sync.WaitGroup
}

View file

@ -15,6 +15,8 @@ import (
)
type mockSigner struct {
lndclient.SignerClient
lnd *LndMockServices
}

View file

@ -25,6 +25,8 @@ var (
)
type mockVersioner struct {
lndclient.VersionerClient
version *verrpc.Version
}

View file

@ -27,6 +27,8 @@ import (
var DefaultMockFee = chainfee.SatPerKWeight(10000)
type mockWalletKit struct {
lndclient.WalletKitClient
lnd *LndMockServices
keyIndex int32