mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-20 13:24:44 +00:00
Correct discovery logic (#5111)
This commit is contained in:
@@ -916,7 +916,7 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
|
||||
{
|
||||
self.max_outbound_dialing_peers()
|
||||
.saturating_sub(dialing_peers)
|
||||
- peer_count
|
||||
.saturating_sub(peer_count)
|
||||
} else {
|
||||
0
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user