Skip to content

Commit

Permalink
Cleanup an outbound peers check
Browse files Browse the repository at this point in the history
  • Loading branch information
j01tz committed Aug 15, 2019
1 parent 7bfb54e commit fb9b06e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/src/grin/seed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ fn listen_for_addrs(
let addrs: Vec<PeerAddr> = rx.try_iter().collect();

// If we have a healthy number of outbound peers then we are done here.
if peers.peer_count() > peers.peer_outbound_count() && peers.healthy_peers_mix() {
if peers.healthy_peers_mix() {
return;
}

Expand Down

0 comments on commit fb9b06e

Please sign in to comment.