diff --git a/pkg/network/server.go b/pkg/network/server.go index 7210ddf86..be6a1d3a6 100644 --- a/pkg/network/server.go +++ b/pkg/network/server.go @@ -409,7 +409,7 @@ func (s *Server) run() { // "Optimal" number of peers. optimalN = s.discovery.GetFanOut() * 2 // Real number of peers. - peerN = s.PeerCount() + peerN = s.HandshakedPeersCount() ) if peerN < s.MinPeers {