lnwallet: expose dry run support for ImportAccount

This commit is contained in:
Wilmer Paulino committed 2021-05-06 19:04:21 -07:00
1 parent 64699d8538
commit 994405709a
3 files changed
+44 -6

No files matched your search

+3 -1
View File
@@ -219,7 +219,9 @@ type WalletController interface {
// witness pubkeys everywhere) and our own BIP-0049Plus address schema
// (nested pubkeys externally, witness pubkeys internally).
ImportAccount(name string, accountPubKey *hdkeychain.ExtendedKey,
masterKeyFingerprint uint32, addrType *waddrmgr.AddressType) error
masterKeyFingerprint uint32, addrType *waddrmgr.AddressType,
dryRun bool) (*waddrmgr.AccountProperties, []btcutil.Address,
[]btcutil.Address, error)
// ImportPublicKey imports a single derived public key into the wallet.
// The address type can usually be inferred from the key's version, but