Skip to content

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

@levmi

Description

@levmi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    UIRelated to the User InterfacebeginnerIssues suitable for new developersenhancementImprovements to existing features / behaviourloggingRelated to the logging / debug output functionalitypaymentsRelated to invoices/payments

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions