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

Invoices don't have route_hints #1400

Open
Perlover opened this issue Dec 20, 2023 · 0 comments
Open

Invoices don't have route_hints #1400

Perlover opened this issue Dec 20, 2023 · 0 comments
Labels
bug Something isn't working lnd This issue relates to lnd

Comments

@Perlover
Copy link

Hello,

A man billed me from Blixt at iPhone. I couldn't pay for it. Reason: no routes found. I set up a wallet for him earlier and channels were automatically opened there through the default provider at the first incoming payments. When I decoded the invoice, router_hints was missing. At the same time, the node itself is, of course, private. I have the Android version and router_hints are present in the accounts (but I have manualy created channels with some nodes)

I don't have his phone next to me, but he told me on the phone that he had two channels, they were both active at that moment and the wallet was running. I don't know the details of the channels yet. I can suspect that he did not have enough incoming liquidity in the channels to accept my amount. But since the channels were already open, the wallet apparently decided not to open a new channel through the wallet provider's LSP. It is possible that in such a situation an invoice is created, but route_hints are not inserted.

Or it is possible that there was liquidity, but for some reason route_hints were not inserted. Although I'm leaning towards the first version and asked the person to send me screenshots of the channels. He's going to do it soon.

In any case, this is a very unpleasant bug, as the user has a deadlock situation. It seems to me that either a new channel should be created automatically, or the user should be informed that he cannot accept funds due to lack of liquidity (I do not see a problem to ask through API the LND inside for remote balances and calculate how much the user can accept the maximum sats)

@hsjoberg hsjoberg added bug Something isn't working lnd This issue relates to lnd labels Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lnd This issue relates to lnd
Projects
None yet
Development

No branches or pull requests

2 participants