p2p: don't stop the idle thread when no gray peers are found

This commit is contained in:
moneromooo-monero 2018-12-30 19:32:38 +00:00
parent ed54ac8fdf
commit d1b3990d40
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

@ -2016,7 +2016,7 @@ namespace nodetool
return false;
if (!m_peerlist.get_random_gray_peer(pe)) {
return false;
return true;
}
bool success = check_connection_and_handshake_with_peer(pe.adr, pe.last_seen);