Skip to content

[Feature]: Add maximum bound validation to CJIT flow #2393

@catch-21

Description

@catch-21

Describe the problem

Since increasing the maximum amount that can added to the spending balance via CJIT to 950euro (as part of the new Liquidity Management Policy for Lightning Channels) it is possible to exceed the boundary so that blocktank rejects it, showing an unpleasing toast error and a loading spinner that displays indefinitely.

Screen-2024-12-09-164136.mp4

Describe the solution

We should add some validation to prevent the user from proceeding when the maximum is exceeded.
Or at least show a nice error and allow the user to retry instead of showing the spinner for eternity.

Additional context

No response

Metadata

Metadata

Assignees

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