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 error message for melting small tokens #132

Open
gudnuf opened this issue Oct 31, 2024 · 0 comments
Open

Improve error message for melting small tokens #132

gudnuf opened this issue Oct 31, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@gudnuf
Copy link
Contributor

gudnuf commented Oct 31, 2024

Most mints have a minimum lightning fee reserve of 2 sats. This means that its usually impossible to melt 2 or 1 sats.

I have the following error messages (hooks/cashu/useCashu) to handle this case, but they do not consider receiving small tokens. The error messages are specific to transferring between accounts.

image

The error should know if the cross mint swap is happening in the context of claiming a token or transferring between mints in the Accounts tab

@gudnuf gudnuf added the good first issue Good for newcomers label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant