Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

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

Open
shadowcpy opened this issue Nov 27, 2022 · 2 comments

Comments

@shadowcpy
Copy link

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 (ElementsProject/lightning#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 ElementsProject/lightning#5586)

@fiatjaf
Copy link
Contributor

fiatjaf commented Nov 27, 2022

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.

@shadowcpy
Copy link
Author

shadowcpy commented Nov 27, 2022

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

@Gravity2106 Gravity2106 added enhancement New feature or request help wanted Extra attention is needed and removed enhancement New feature or request help wanted Extra attention is needed labels Nov 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants