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

Wrong balance after Withdrowal #243

Open
antonpegov opened this issue Nov 26, 2023 · 0 comments
Open

Wrong balance after Withdrowal #243

antonpegov opened this issue Nov 26, 2023 · 0 comments
Assignees
Labels
-UI- Wallet App Frontend bug Bug

Comments

@antonpegov
Copy link
Collaborator

antonpegov commented Nov 26, 2023

Balances are wrong after withdrow.

Workaround: Click Refresh button to update balances (many times).

In the first few seconds after withdrow balances are real:

image

But then value of "pendingDelta" temporarely becomes unadecuate:

image

And after another 5-10 seconds token balance are back to normal.

It is looks like Library methods zpClient.getOptimisticTokenBalanceDelta() and zpClient.getOptimisticTotalBalance() returns wrong data in the firs 5-10 seconds after transfer (and it is always -1844...) and probabely this wrong data is being saved to the history, cousing this errors: #228

And also this is probabely rootcause of #235

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
-UI- Wallet App Frontend bug Bug
Projects
Status: Planned
Development

When branches are created from issues, their pull requests are automatically linked.

3 participants