Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Set a 1 minute timeout when sending a lightning payment and display "no route found" screen #555

@tanx

Description

@tanx

If no route is found, payments can take forever and the wait spinner just sits there and the app is unresponsive.

We could set a timeout before calling the sendPayment grpc api in the payLightning payment action. If the timeout is reached, we can display the "no route found" view.

This approach would make the user experience more responsive. The downside is if the user retries the payment a second time and the first payment does eventually go through in the background, he will have paid twice.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions