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

Update account data whenever send page is opened #516

Merged
merged 3 commits into from
Oct 10, 2020

Conversation

beansgum
Copy link
Contributor

@beansgum beansgum commented Sep 15, 2020

This pr fixes a bug where the spendable balance is not updated until the app is restarted. This bug occurs because account details are loaded once in an instance and this pr fixes the bug by updating account data whenever the send page is opened. This bug can be recreated by opening the send page and check the current spendable balance displayed -> go to settings -> toggle spend unconfirmed funds, going back to the send page will show an incorrect spendable balance. Note that recreating this bug requires the total and spendable balance to unequal.

@beansgum beansgum merged commit 4fc45d5 into planetdecred:master Oct 10, 2020
@beansgum beansgum deleted the max_btn branch October 10, 2020 02:26
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

Successfully merging this pull request may close these issues.

2 participants