mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
p2p: don't stop the idle thread when no gray peers are found
This commit is contained in:
parent
ed54ac8fdf
commit
d1b3990d40
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user