diff --git a/servers/src/grin/seed.rs b/servers/src/grin/seed.rs index 191c695af..75fc03249 100644 --- a/servers/src/grin/seed.rs +++ b/servers/src/grin/seed.rs @@ -174,9 +174,11 @@ fn monitor_peers( Some(preferred_peers) => { for mut p in preferred_peers { if !connected_peers.is_empty() { - if connected_peers.contains(&p) { + if !connected_peers.contains(&p) { tx.send(p).unwrap(); } + } else { + tx.send(p).unwrap(); } } }