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

warn user if imported key has derivation path different from xpub's depth #397

Open
stepansnigirev opened this issue Sep 17, 2020 · 0 comments · May be fixed by #2454
Open

warn user if imported key has derivation path different from xpub's depth #397

stepansnigirev opened this issue Sep 17, 2020 · 0 comments · May be fixed by #2454

Comments

@stepansnigirev
Copy link
Collaborator

inspired by a discussion in a telegram group.
xpub has a depth encoded. if the user enters xpub and derivation path manually he may enter the wrong derivation path. So we should warn the user if he is importing xpub with depth m whereas the provided derivation path is longer or shorter than that. We should not warn the user if the derivation path is not provided at all though.

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

Successfully merging a pull request may close this issue.

1 participant