-
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]: GetChanInfo returns an error for zero-conf channels #7229
Comments
What's the returned error? |
edge not found |
Is the zero-conf channel confirmed? Which SCID are you using in the call to |
it is not confirmed |
I wasn't able to reproduce this following the steps above. The channel was an unconfirmed, zero-conf channel and |
ok cool, must be due to using the wrong id then |
This happened due to a disconnected block notification which called Lines 1519 to 1533 in d9c79d8
This leads to every SCID in the graph being deleted if it has a height after the disconnected height - meaning every zero-conf channel gets its edge deleted. The fix here would be set |
Can pass in an interface to skip if an scid alias is ours and "looks" like something we'd make? |
I meant that if this has already happened to a node, the edge wouldn't exist and I wasn't sure how to fix that after-the-fact without possibly closing the channel |
Re-opening this as it still seems to be popping up. Got a report of a main gateway node not having the channel update (?), so it can't send the latest one to leaf nodes, who are now making invalid invoices, causing incoming payments to fail. This has been a very long standing issue. One recovery method could be just re-generating if we don't have it for some reason, but the bigger question is why it's getting "lost" in transit. |
Background
To update channel fees, you can use the UpdateChannelPolicy and then use GetChanInfo to confirm the fee rate update was applied, but for zero-conf channels the latter API call returns an error
So when looking up such a channel with GetChanInfo, it should return the channel info
Your environment
Steps to reproduce
Expected behavior
Actual behavior
The text was updated successfully, but these errors were encountered: