-
Notifications
You must be signed in to change notification settings - Fork 100
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
client/asset/dcr: restart required after restoring native dcr wallet with funds #1816
Comments
A related issue is that sync status for the native DCR wallet seems to neglect the wallet rescan that comes after block header and filter sync. This is not really noticeable on simnet, but it's major on testnet and mainnet. That is, when you create the wallet it will get to 100% synced at this point:
However, this is where its rescan/recover starts:
Only then is it really synchronized. Not sure if we have visibility to this rescanning state. And then the next block the balance actually updates. |
Taking a look on it. Does it also happen with btc wallets? |
So looking into it, it looks like the reason is dcrwallet v1.7.4 does not update the balance after restoring a spv wallet. For me new blocks does not seem to update the balance, but locking and unlocking the wallet does update. How should we dealt with it? |
When I reinitialized dexc with a native DCR wallet that had funds, it showed 0 balance even after scan/recover had completed. I had to restart dexc to have the proper balance.
Refreshing the UI did not help.
New DCR blocks did not change the balance either.a new block seems to trigger the proper balance.The text was updated successfully, but these errors were encountered: