diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-30 19:32:38 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-12-30 19:32:38 +0000 |
commit | d1b3990d40d7f7c532e654e9bf8124b12598eb72 (patch) | |
tree | a2b85f44604b3e5fb39c8bfc2615e111ab48b950 /src | |
parent | Merge pull request #4902 (diff) | |
download | monero-d1b3990d40d7f7c532e654e9bf8124b12598eb72.tar.xz |
p2p: don't stop the idle thread when no gray peers are found
Diffstat (limited to 'src')
-rw-r--r-- | src/p2p/net_node.inl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl index fbf265fc9..73a021a6a 100644 --- a/src/p2p/net_node.inl +++ b/src/p2p/net_node.inl @@ -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); |