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

[feature]: More Descriptive Error on Attempted Spend from Reserve #8957

Open
levmi opened this issue Jul 31, 2024 · 1 comment
Open

[feature]: More Descriptive Error on Attempted Spend from Reserve #8957

levmi opened this issue Jul 31, 2024 · 1 comment
Labels
beginner Issues suitable for new developers enhancement Improvements to existing features / behaviour logging Related to the logging / debug output functionality payments Related to invoices/payments UI Related to the User Interface

Comments

@levmi
Copy link
Collaborator

levmi commented Jul 31, 2024

Is your feature request related to a problem? Please describe.
I've heard from developers that users get frustrated when they're onboarding to Lightning, set up a channel, then try to spend the an amount below the reserve threshold of that channel, but run into the channel reserve requirement. When they try to spend the full amount, the error returns as insufficient balance. The developer who flagged this actually believes that it could be impacting initial Lightning usage as people try Lightning out, it fails and they just move on.

Describe the solution you'd like
It would be nice to have a more descriptive error here like Cannot Spend due to Channel Reserve or something along those lines. This would allow for developers to give more context to end users about what went wrong and better educate them on how to use Lightning.

Additional context
Comes from the Voltage team

@levmi levmi added enhancement Improvements to existing features / behaviour UI Related to the User Interface beginner Issues suitable for new developers payments Related to invoices/payments logging Related to the logging / debug output functionality labels Jul 31, 2024
@ziggie1984
Copy link
Collaborator

I think this relates to #8817, which would be even better to give devs the exact amount they can send on that channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner Issues suitable for new developers enhancement Improvements to existing features / behaviour logging Related to the logging / debug output functionality payments Related to invoices/payments UI Related to the User Interface
Projects
None yet
Development

No branches or pull requests

2 participants