-
Notifications
You must be signed in to change notification settings - Fork 196
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
[BUG] Galoy doesn't return preimage with WebLN #2946
Comments
Looking into this, can extend the graphql call. The API can return the preimage when paying through LN, but doesn't do for intraledger:
would it be useful to return the username or just a note about intraledger settlement? Testing paying a new account without username set is not returning anything so it must be a note about intraledger payment:
Example response on signet LN:
|
If the Galoy connector doesn't reliably return preimages for WebLN it will break quite some apps that follow the current WebLN spec and possibly would force them to handle those special cases (for intraledger payments) which is clearly not how WebLN is intended to work. Why is it that you can't provide a preimage for intraledger payments? Do they never hit the node but just the DB? |
The preImage could be returned for intraledger payments as well as the invoice is generated on the node (not knowing that it will be paid intraledger or over LN) and the eg.:
|
that would be great! \o/ |
Until the preimage is returned for intraledger also can offer a partial improvement to return it for ln settlements at least: #2953 |
Describe the bug
Implement WebLN (return
preimage
forsendPayment
calls)https://github.com/getAlby/lightning-browser-extension/blob/master/src/extension/background-script/connectors/galoy.ts#L314
The text was updated successfully, but these errors were encountered: