Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Unify "not enough funds" errors #405

Closed
slaweet opened this issue Jun 14, 2017 · 0 comments
Closed

Unify "not enough funds" errors #405

slaweet opened this issue Jun 14, 2017 · 0 comments
Assignees

Comments

@slaweet
Copy link
Contributor

slaweet commented Jun 14, 2017

Expected behaviour

All transaction types should check balance at the beginning and display a unified error message.

Actual behaviour

  • Send: "Insufficient funds" error message under the "amount" input
  • Vote: red error toast saying " Account does not have enough LSK: 9192292151089507854L balance: 0" after clicking "Confirm" button
  • Register as delegate: "Account does not have enough LSK: 9192292151089507854L balance: 0" message after clicking "Register" button
  • Register second passphrase: "You have insufficient funds to register a second passphrase." Error alert dialog after clicking "Register" button
@slaweet slaweet self-assigned this Jun 14, 2017
slaweet added a commit that referenced this issue Jun 14, 2017
Unify "not enough funds" errors - Closes #405
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant