aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-01-16 21:39:19 +0200
committerRiccardo Spagni <ric@spagni.net>2019-01-16 21:39:19 +0200
commite59813c3d7afd14689da5ef07359dfe5bad8670b (patch)
treeba779f9606f0842d512415eeb094702a72a04039 /src
parentMerge pull request #5027 (diff)
parentp2p: don't stop the idle thread when no gray peers are found (diff)
downloadmonero-e59813c3d7afd14689da5ef07359dfe5bad8670b.tar.xz
Merge pull request #5029
d1b3990d p2p: don't stop the idle thread when no gray peers are found (moneromooo-monero)
Diffstat (limited to 'src')
-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 2b615b129..25ac1ba18 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -2017,7 +2017,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);