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

Allow importing a special Xprv that specifies the external index to check #315

Open
gabaldon opened this issue Aug 8, 2023 · 1 comment

Comments

@gabaldon
Copy link
Contributor

gabaldon commented Aug 8, 2023

No description provided.

@Tommytrg
Copy link
Member

Tommytrg commented Aug 8, 2023

Due to the bug witnet/witnet-rust#2384, some wallets have a gap between addresses, leading to errors when checking a wallet's balance. To fix this, importing an XPRV in Sheikah should detect if the wallet is affected by the bug and generate an XPRV with the size of the gaps.

When a user imports an XPRV, myWitWallet has to detect if the user is importing an XPRVDouble if the length is 478 and call the fromEncryptedXprvDouble method implemented in witnet.dart

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