Skip to content

Commit

Permalink
Add comment for private channel filter
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Apr 26, 2023
1 parent 4027884 commit 5a3bcc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lnd/lnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ func (l Lnd) GetChannel(ctx context.Context, channelID lightning.ChannelID) (lig
}

// ListChannels of local node.
//
// Assumes we don't want to act on private channel liquidity management.
func (l Lnd) ListChannels(ctx context.Context) (lightning.Channels, error) {
channelInfos, err := l.c.ListChannels(ctx, false, true)
if err != nil {
Expand Down

0 comments on commit 5a3bcc0

Please sign in to comment.