It would be great if send_pay could be wrapped in awaitable channel futures, just like pay and trampoline_pay. The Breez SDK uses send_pay to pay for reverse swaps. They sometimes fail with failed: WIRE_TEMPORARY_CHANNEL_FAILURE (First peer not ready), meaning the channels between greenlight and the LSP are not yet reestablished at the moment of calling send_pay.
It would be great if
send_pay
could be wrapped in awaitable channel futures, just likepay
andtrampoline_pay
. The Breez SDK usessend_pay
to pay for reverse swaps. They sometimes fail withfailed: WIRE_TEMPORARY_CHANNEL_FAILURE (First peer not ready)
, meaning the channels between greenlight and the LSP are not yet reestablished at the moment of callingsend_pay
.