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

enhancement: improve error message when exit swap pool and supplying too small amount of shares #1207

Closed
onikonychev opened this issue Feb 23, 2023 · 1 comment

Comments

@onikonychev
Copy link
Contributor

If you try to exit pool with less than 1 unibi, you get a message:
failed to execute message; message index: 0: not enough pool shares to withdraw

which should be something like:
Too small amount of shares specified. The minimum is 1000000000nibiru/pool/1 something like this

@jgimeno
Copy link
Contributor

jgimeno commented Mar 10, 2023

Closed by PR #1212

@jgimeno jgimeno closed this as completed Mar 10, 2023
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

2 participants