[go: nahoru, domu]

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 shielded balance in query #3457

Open
grarco opened this issue Jun 28, 2024 · 1 comment
Open

Wrong shielded balance in query #3457

grarco opened this issue Jun 28, 2024 · 1 comment

Comments

@grarco
Copy link
Contributor
grarco commented Jun 28, 2024

If the shielded context is in a speculative state, the call to query the shielded balances will most probably return a wrong value.

A first workaround could be to print a line in the client to warn the user about this and ask them to fetch again to see the updated balances.

A better approach would be to address #2593 and update the shielded context only if the transaction is successful: in this case the response we'd get from the query would be correct.

@cwgoes
Copy link
Contributor
cwgoes commented Aug 20, 2024

Let's make sure to note this w.r.t. shielded sync @batconjurer @sug0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants