diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:39:19 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-16 21:39:19 +0200 |
commit | e59813c3d7afd14689da5ef07359dfe5bad8670b (patch) | |
tree | ba779f9606f0842d512415eeb094702a72a04039 /src/p2p/net_node.inl | |
parent | Merge pull request #5027 (diff) | |
parent | p2p: don't stop the idle thread when no gray peers are found (diff) | |
download | monero-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/p2p/net_node.inl')
-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 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); |