mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 02:17:58 +00:00
@@ -827,7 +827,7 @@ impl<B: BlockT> Protocol<B> {
|
||||
}
|
||||
|
||||
if status.roles.is_light() &&
|
||||
(self.peers.len() - self.sync.num_peers()) < self.default_peers_set_num_light
|
||||
(self.peers.len() - self.sync.num_peers()) >= self.default_peers_set_num_light
|
||||
{
|
||||
// Make sure that not all slots are occupied by light clients.
|
||||
debug!(target: "sync", "Too many light nodes, rejecting {}", who);
|
||||
|
||||
Reference in New Issue
Block a user