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

Cannot withdraw max amount from savings #830

Open
donnyquixotic opened this issue Feb 19, 2024 · 0 comments
Open

Cannot withdraw max amount from savings #830

donnyquixotic opened this issue Feb 19, 2024 · 0 comments
Labels
🐛 Bug Something isn't working

Comments

@donnyquixotic
Copy link
Contributor

donnyquixotic commented Feb 19, 2024

Describe the bug
There is precision loss on withdraw max amount causing transaction to fail. User is unable to withdraw remaining 0.0001 TLOS from savings.

To Reproduce
Steps to reproduce the behavior:

  1. Go to savings tab and move any amount to savings
  2. Select max amount to populate withdraw savings input
  3. Attempt to withdraw
  4. See transaction error
  5. Update withdraw input to equal max amount minus .0001
  6. Withdraw

Additional context
This is most likely due to precision loss during conversion between REX and TLOS.

related issue #734

@donnyquixotic donnyquixotic added the 🐛 Bug Something isn't working label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant