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

release-v0.5.0
moneromooo-monero 5 years ago committed by wowario
parent 816c223a05
commit 9a82e73e5d
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -2008,7 +2008,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);

Loading…
Cancel
Save