Skip to content

[GEN-524] Channel balances disrupted by disabled nodes#500

Merged
imclvr merged 1 commit intomainfrom
fix/channels_view_broken_when_disabled
Apr 30, 2026
Merged

[GEN-524] Channel balances disrupted by disabled nodes#500
imclvr merged 1 commit intomainfrom
fix/channels_view_broken_when_disabled

Conversation

@imclvr
Copy link
Copy Markdown
Contributor

@imclvr imclvr commented Apr 28, 2026

No description provided.

Comment thread src/Services/LightningService.cs
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses incorrect Lightning channel balance/state aggregation caused by including disabled nodes when computing channel states.

Changes:

  • Update LightningService.GetChannelsState() to fetch only non-disabled managed nodes from INodeRepository.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Services/LightningService.cs
Copy link
Copy Markdown

@manumonti manumonti left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@imclvr imclvr merged commit 7f98da8 into main Apr 30, 2026
6 checks passed
@imclvr imclvr deleted the fix/channels_view_broken_when_disabled branch April 30, 2026 10:11
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.

5 participants