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

Ignore lnd's internal errors #2659

Merged
merged 1 commit into from
May 17, 2023
Merged

Ignore lnd's internal errors #2659

merged 1 commit into from
May 17, 2023

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented May 16, 2023

It seems like lnd sends this error whenever something wrong happens on their side, regardless of whether the channel actually needs to be closed. We ignore it to avoid paying the cost of a channel force-close, it's up to them to broadcast their commitment if they wish.

See lightningnetwork/lnd#7657 for example.

It seems like lnd sends this error whenever something wrong happens on
their side, regardless of whether the channel actually needs to be closed.
We ignore it to avoid paying the cost of a channel force-close, it's up
to them to broadcast their commitment if they wish.

See lightningnetwork/lnd#7657 for example.
@t-bast t-bast requested a review from pm47 May 16, 2023 13:42
@codecov-commenter
Copy link

Codecov Report

Merging #2659 (9089e49) into master (fa985da) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@            Coverage Diff             @@
##           master    #2659      +/-   ##
==========================================
- Coverage   85.71%   85.68%   -0.03%     
==========================================
  Files         214      214              
  Lines       17558    17561       +3     
  Branches      754      752       -2     
==========================================
- Hits        15050    15048       -2     
- Misses       2508     2513       +5     
Impacted Files Coverage Δ
...la/fr/acinq/eclair/channel/fsm/ErrorHandlers.scala 83.33% <100.00%> (+0.34%) ⬆️

... and 6 files with indirect coverage changes

Copy link
Member

@pm47 pm47 left a comment

Choose a reason for hiding this comment

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

I checked the exact match.

@rorp
Copy link
Contributor

rorp commented May 16, 2023

👍

@t-bast t-bast merged commit c73db84 into master May 17, 2023
@t-bast t-bast deleted the ignore-lnd-internal-error branch May 17, 2023 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants