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 -2
View File
@@ -88,8 +88,9 @@ func (w *WalletController) ListAccounts(_ string,
// ImportAccount currently returns a dummy value.
func (w *WalletController) ImportAccount(string, *hdkeychain.ExtendedKey,
uint32, *waddrmgr.AddressType) error {
return nil
uint32, *waddrmgr.AddressType, bool) (*waddrmgr.AccountProperties,
[]btcutil.Address, []btcutil.Address, error) {
return nil, nil, nil, nil
}
// ImportPublicKey currently returns a dummy value.