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

Improve amount field checks on Send tab #1311

Open
LukasKorba opened this issue Jul 1, 2024 · 0 comments
Open

Improve amount field checks on Send tab #1311

LukasKorba opened this issue Jul 1, 2024 · 0 comments

Comments

@LukasKorba
Copy link
Collaborator

Even though there is no loss of funds possible, the UX for the amount field could be improved. There are cases when the review button is enabled with invalid amount.

Examples:

  • if amount is pasted as -0.02 it's valid number but invalid Zatoshi amount. Review fails with out of bound rust error.
  • if amount 0.123456789 is filled in, it's a valid number but invalid format due to too many fractional digits.

Goal

Extend the checks for valid bound and valid number of fractions.

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

1 participant