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

Description
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.