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

Better error handling when outbound liquidity is to low #226

Open
fusion44 opened this issue Sep 3, 2023 · 0 comments
Open

Better error handling when outbound liquidity is to low #226

fusion44 opened this issue Sep 3, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers REST An issue only appearing when using the REST interface
Milestone

Comments

@fusion44
Copy link
Owner

fusion44 commented Sep 3, 2023

If a user tries to send funds from a node where the channel has outgoing liquidity below the channel reserve amount, the error message will say no route found. This is technically correct, but the error message could be more descriptive to the API user.

A better solution would be to check before attempting to send. This affects at least Core Lightning.

@fusion44 fusion44 added enhancement New feature or request good first issue Good for newcomers REST An issue only appearing when using the REST interface labels Sep 3, 2023
@fusion44 fusion44 added this to the v0.7.0-beta milestone Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers REST An issue only appearing when using the REST interface
Projects
None yet
Development

No branches or pull requests

1 participant