Merge pull request #5266 from wpaulino/import-dry-run

walletrpc: expose dry run support for ImportAccount
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2021-05-10 17:19:09 -07:00
commit ba5aaec632
10 files changed
+604 -406

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.