Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LNURLw attempts to pay the invoices synchronously #37

Open
andrei-21 opened this issue Jun 11, 2024 · 0 comments
Open

LNURLw attempts to pay the invoices synchronously #37

andrei-21 opened this issue Jun 11, 2024 · 0 comments

Comments

@andrei-21
Copy link

LNURLw attempts to pay the invoices synchronously, waits for the payment to compete and only after that returns HTTP response. See api_lnurl_callback().
What results in a bad UX if a payment takes longer than http request timeout: the http calls times out, but then the payment arrives.

Such behavior does not conform LUD-03:

LN SERVICE sends a [...] JSON response and then attempts to pay the invoices asynchronously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant