mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-22 03:30:38 +00:00
Correct discovery logic (#5111)
This commit is contained in:
parent
b7c9b27872
commit
5851027bfd
@ -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
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user