Skip to content

Commit

Permalink
Ignore private channels
Browse files Browse the repository at this point in the history
  • Loading branch information
nyonson committed Apr 26, 2023
1 parent 6f6e21a commit 4027884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnd/lnd.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (l Lnd) GetChannel(ctx context.Context, channelID lightning.ChannelID) (lig

// ListChannels of local node.
func (l Lnd) ListChannels(ctx context.Context) (lightning.Channels, error) {
channelInfos, err := l.c.ListChannels(ctx, false, false)
channelInfos, err := l.c.ListChannels(ctx, false, true)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 4027884

Please sign in to comment.