multi: bump lnd compile time dependency to v0.14.0-beta.rc1

This commit is contained in:
Oliver Gugger 2021-09-21 13:33:38 +02:00
parent 6b04d8ecb0
commit 2c6e035235
No known key found for this signature in database
GPG key ID: 8E4256593F177720
9 changed files with 250 additions and 63 deletions

View file

@ -13,6 +13,7 @@ import (
"github.com/btcsuite/btcwallet/wtxmgr"
"github.com/lightninglabs/lndclient"
"github.com/lightningnetwork/lnd/keychain"
"github.com/lightningnetwork/lnd/lnrpc/walletrpc"
"github.com/lightningnetwork/lnd/lnwallet"
"github.com/lightningnetwork/lnd/lnwallet/chainfee"
)
@ -38,7 +39,7 @@ func (m *mockWalletKit) ListUnspent(ctx context.Context, minConfs,
}
func (m *mockWalletKit) LeaseOutput(ctx context.Context, lockID wtxmgr.LockID,
op wire.OutPoint) (time.Time, error) {
op wire.OutPoint, duration time.Duration) (time.Time, error) {
return time.Now(), nil
}
@ -161,3 +162,12 @@ func (m *mockWalletKit) BumpFee(context.Context, wire.OutPoint,
return nil
}
// ListAccounts retrieves all accounts belonging to the wallet by default.
// Optional name and addressType can be provided to filter through all of the
// wallet accounts and return only those matching.
func (m *mockWalletKit) ListAccounts(context.Context, string,
walletrpc.AddressType) ([]*walletrpc.Account, error) {
return nil, nil
}