diff --git a/server.go b/server.go index 74a85a2f..9bd996f5 100644 --- a/server.go +++ b/server.go @@ -3090,6 +3090,13 @@ func (s *server) watchChannelStatus() { // the status of closed channels around. newStatus := make(map[wire.OutPoint]activeStatus) for _, c := range channels { + // We'll skip any private channels, as they + // aren't used for routing within the network + // by other nodes. + if c.ChannelFlags&lnwire.FFAnnounceChannel == 0 { + continue + } + chanID := lnwire.NewChanIDFromOutPoint( &c.FundingOutpoint)