aboutsummaryrefslogtreecommitdiff
path: root/src/p2p/net_node.inl
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-30 19:32:38 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-12-30 19:32:38 +0000
commitd1b3990d40d7f7c532e654e9bf8124b12598eb72 (patch)
treea2b85f44604b3e5fb39c8bfc2615e111ab48b950 /src/p2p/net_node.inl
parentMerge pull request #4902 (diff)
downloadmonero-d1b3990d40d7f7c532e654e9bf8124b12598eb72.tar.xz
p2p: don't stop the idle thread when no gray peers are found
Diffstat (limited to 'src/p2p/net_node.inl')
-rw-r--r--src/p2p/net_node.inl2
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);