Skip to content

[Feature]: Improve error when attempting to transfer from spending and liquidity limit is exceeded by recently closed BT widget channel #2566

@catch-21

Description

@catch-21

Describe the problem

When Bitkit has recently closed a channel that was created with the BT widget (not with its own transfer flow) then this error in json format can be shown:

Instant Payments Setup Failed

An error occurred when setting up your instant balance. Failed to create order. {"message":"Node capacity is above our capacity limit. Contact us for more information.","type":"CHANNEL_REJECTED_BY _LSP", "detail":
{}}

Image

Describe the solution

The solution is to wait until the channel close tx is confirmed and BT resets your liquidity allowance, so the error could explain this. Certainly not show json.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestfeature requestA user has an idea for the app

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions