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

gossip: Do not send warnings if we fail to parse a channel_update #5897

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Jan 13, 2023

We removed a warning about the channel_update being malformed since the warning could cause lnd to disconnect (seems they treat channel-unrelated warnings as fatal?). This was caused by lnd not enforcing the htlc_maximum, thus the parsing would fail. We can re-add the warning once our assumption that htlc_maximum being set is valid.

Changelog-Fixed: gossip: We no longer send warning that lnd would not understand if we get outdated gossip

We removed a warning about the channel_update being malformed since
the warning could cause lnd to disconnect (seems they treat
channel-unrelated warnings as fatal?). This was caused by lnd not
enforcing the `htlc_maximum`, thus the parsing would fail. We can
re-add the warning once our assumption that `htlc_maximum` being set
is valid.

Changelog-Fixed: gossip: We no longer send warning that lnd would not understand if we get outdated gossip
Copy link
Collaborator

@endothermicdev endothermicdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks reasonable to swallow this warning. If we plan to reinstitute it, a log entry might help determine when it's appropriate.

ACK d788662

Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack d788662

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants