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

After sending an ERC20 token, the balance should update to show the new amount #154

Open
jessgusclark opened this issue Feb 11, 2022 · 2 comments

Comments

@jessgusclark
Copy link
Member

Currently, after sending an ERC20 token, after it has been confirmed, if you navigate to the home/balances screen it can take a few mintues to see the change. I suspect this is because it is waiting for the rif-wallet-service to fetch the updated price. We should lower the balance of the token so the user sees the correct amount immediatly.

I did not test this with rbtc, but it should also update when sent or a transaction has been executed.

@ilanolkies
Copy link
Contributor

Like faking it was confirmed? What if the transaction gets reverted?

I would rather show "ongoing" transactions with the amount you are sending. That might be clear enough

@jessgusclark
Copy link
Member Author

No, I the amount should be deducted after the transaction is confirmed. I did two tests and it was up to 2 minutes after the confirmation before it deducted the balance.

There is a delay either in connecting to the rif-wallet-services or between rif-wallet-services and the explorer. Perhaps this ticket should be submitted there?

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

2 participants