Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

accountaddressindex of imported xpub are not discovered #1869

Open
raedah opened this issue Oct 13, 2020 · 1 comment
Open

accountaddressindex of imported xpub are not discovered #1869

raedah opened this issue Oct 13, 2020 · 1 comment

Comments

@raedah
Copy link
Contributor

raedah commented Oct 13, 2020

Using importxpub on an account that already has address use, does not properly discover the used address and set the index. Using rescanwallet does not result in proper discovery either for the imported xpub either. It was confirmed that the index numbers had in fact already been used. If the accountaddressindex is not manually set, it will result in address reuse. Using accountsyncaddressindex to set a higher index is not effective either, and accountaddressindex shows it still set to 0 even after setting it to a higher number.

A couple times I was able to use accountsyncaddressindex to attempt to increment the address index by 1 or 2, even though accountaddressindex did not show the change, and then run a rescanwallet where it was then able to discover the proper index, but not in a consistent repeatable fashion.

@jrick
Copy link
Member

jrick commented Oct 13, 2020

discoverusage is for searching for the correct indexes, not rescanwallet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants