Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Feature Request: fail gracefully when withdrawing from an underfunded account #137

Open
vitchor opened this issue Nov 29, 2019 · 0 comments

Comments

@vitchor
Copy link
Contributor

vitchor commented Nov 29, 2019

Currently, when we try to withdraw a value that's higher than the account's balance, we just display an "Sending transaction failed with error code 400: tx_failed, op_underfunded " error and keep polling the /transaction for status updates.

In those cases, we could stop the transaction polling and display a nicer error message.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant