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

[v1.6.5] Handle send amounts below dust more gracefully #5532

Open
ripcurlx opened this issue May 26, 2021 · 1 comment
Open

[v1.6.5] Handle send amounts below dust more gracefully #5532

ripcurlx opened this issue May 26, 2021 · 1 comment

Comments

@ripcurlx
Copy link
Member

Description

We shouldn't get to the point showing a IllegalArgumentException when an amount below the dust limit is entered.

Version

v1.6.5

Steps to reproduce

Send funds from wallet and try to send an amount below dust limit

Expected behaviour

An validation error is displayed and Withdraw selected can't be pressed.

Actual behaviour

Withraw selected can be triggered and an java.lang.IllegalArgumentException: The amount is too low (dust limit). is surfaced.

Screenshots

Bildschirmfoto 2021-05-26 um 11 01 20

@ghost
Copy link

ghost commented Aug 9, 2022

It's quite complex task - on withdrawal screen every validation error is displayed in warning popup:

not-funds
validation

I think we should either rebuild validation system on this screen to always show message under appropriate field and block action button, or (the minimum solution) just remove java.lang.IllegalArgumentException prefix from current popup. WDYT?

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

1 participant