joule-extension
joule-extension copied to clipboard
Joule hangs indefinitely on HodlInvoice payment
Description of the Issue
When paying a Hodl Invoice, the Joule browser plugin may not get a response from the LND API immediately. Due to the nature of Hodl Invoices, the server may not respond for hours or days, depending upon when the recipient decides to settle the invoice.
See discussion on this LND issue: https://github.com/lightningnetwork/lnd/issues/3469
BlueWallet, for example, times out the request after ~60 seconds and just shows "Payment in transit"
Steps to Reproduce
Create a Hodl invoice on LND, and attempt to pay it from Joule. The receiving end will correctly show the payment transition to "ACCEPTED" state, but Joule has no way of knowing this and just spins until the invoice is settled.
Description of Your Setup
Browser & version: Brave Operating system: Linux Node software & version: LND 0.7.1-beta
Console Logs / Screenshots
[Please provide these if you can!]
Ah yes, I think this could be remedied with the async payment RPC's that are being worked on, but none of that has made it to the REST API yet. Unfortunately it's a bit of a second class citizen.