Skip to content

Commit

Permalink
Correct discovery logic (sigp#5111)
Browse files Browse the repository at this point in the history
  • Loading branch information
AgeManning authored and danielramirezch committed Feb 14, 2024
1 parent 461d00e commit 0220d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/lighthouse_network/src/peer_manager/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
Expand Down

0 comments on commit 0220d4d

Please sign in to comment.