Merge pull request #5029

d1b3990d p2p: don't stop the idle thread when no gray peers are found (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2019-01-16 21:39:19 +02:00
commit e59813c3d7
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -2017,7 +2017,7 @@ namespace nodetool
return false; return false;
if (!m_peerlist.get_random_gray_peer(pe)) { 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); bool success = check_connection_and_handshake_with_peer(pe.adr, pe.last_seen);