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

[Android] ETH tokens not synced first time after restore #412

Open
mindhacker42 opened this issue Dec 29, 2021 · 0 comments
Open

[Android] ETH tokens not synced first time after restore #412

mindhacker42 opened this issue Dec 29, 2021 · 0 comments

Comments

@mindhacker42
Copy link

mindhacker42 commented Dec 29, 2021

Description:
ETH tokens - I tested only with LINK currency, but it seems to be a problem for all ETH tokens - are not synced first time after creating System after Account restore. After creating system I added LINK wallet, but it didn't sync, I know I have non-zero balance from before, but it shows 0 balance.

After debugging I found out that LINK wallet is automatically added to the system if there is non-zero balance. But after restore, System has available only currencies bundled with SDK, so in this case wallet is not added, since SDK has no currency definition. If I try to add wallet for ETH token later after currencies are already fetched from remote, it doesn't help, wallet is still not synced. I have to note, that this bug was not reproducible on Google Pixel 5, And 12, so it might be more prominent on slower/older devices.

If user creates system again (after currencies are fetched and cached) then it is synced correctly and shows non-zero balance.

Environment:

Reproduction steps:

  1. Restore Account that has some balance on LINK or other ETH token currency.
  2. Show LINK wallet if not already shown.

Expected result:
Non-zero balance on LINK currency.

Actual result:
Zero balance with wallet in CONNECTED state.

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

1 participant