obw icon indicating copy to clipboard operation
obw copied to clipboard

Cannot pay invoice from OBW in CLN due to random pubkeys (private channel)

Open your-sudden-death opened this issue 2 years ago • 2 comments

I am unable to pay an Invoice (generated in OBW) with a CLN node over a private channel as CLN has introduced an abort-early mechanism (https://github.com/ElementsProject/lightning/pull/4404) which refuses to even attempt the payment. As IMMORTAN uses random public keys for invoices, CLN cannot find the pubkey in the public channel graph and aborts the payment attempt with message: Destination <pubkey> is not reachable directly and all routehints were unusable. This is the reason I opened #4, which is not the issue though. (CLN issue is https://github.com/ElementsProject/lightning/issues/5586)

your-sudden-death avatar Nov 27 '22 11:11 your-sudden-death

That cannot be the reason, otherwise CLN wouldn't be able to pay to Breez, Phoenix, Blixt, CashApp or Muun, since these all use private channels.

fiatjaf avatar Nov 27 '22 12:11 fiatjaf

Do all of these also use random nodeIds? How exactly does payment routing work, if the nodeId is randomized?

Paying to BlueWallet first, and then over the private channel to OBW works perfectly fine, it only fails when the route is constructed by CLN

your-sudden-death avatar Nov 27 '22 21:11 your-sudden-death