-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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]: can't send payment to blinded path when setting custom data records #9247
Comments
Actually, I just realized I accidentally included an |
It looks like route blinding is incompatible with sending custom records, see https://github.com/lightning/bolts/blob/master/04-onion-routing.md#requirements:
|
Interesting. LNDK has the ability to send a note when paying BOLT12 offers using blinded paths. I wonder how that works. Here is an excerpt from the documentation. I've tested it with phoenix wallet and it shows the PAYER_NOTE on the recipient's phoenix wallet.
|
What is the |
I'm not sure, maybe in the BOLT12 flow, the note is sent to the recipient via the onion message and persisted, or included in an encrypted data field generated by the receiver for it to read once the payment arrives? |
Background
can't send payment to blinded path when setting custom data records
Your environment
lnd version 0.18.3-beta commit=v0.18.3-beta
Actual behaviour
On node A generate an invoice:
$ lncli addinvoice --blind --amt 5
Then go to node B and pay the invoice:
lncli sendpayment --amp -f --data 3438382=0a21ff --pay_req=.....
but it fails with messages (edited for privacy):
Notes:
--data 3438382=0a21ff
, the payment routes.lncli sendpayment -h|grep data
is where I got the test value for--data 3438382=0a21ff
from.Expected behaviour
Payment should route
The text was updated successfully, but these errors were encountered: