lnwallet: expose dry run support for ImportAccount

This commit is contained in:
Wilmer Paulino
2021-05-04 15:56:26 -07:00
parent 64699d8538
commit 994405709a
3 changed files with 44 additions and 6 deletions

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.