aboutsummaryrefslogtreecommitdiff
path: root/src/p2p
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-17 11:17:21 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-17 11:17:21 +0000
commitb50182aee71f3068f3ce4857f578db39767b8a80 (patch)
tree9830b053696af6f1e1d54a376ffaa7c9a69108c5 /src/p2p
parentMerge pull request #3091 (diff)
downloadmonero-b50182aee71f3068f3ce4857f578db39767b8a80.tar.xz
p2p: don't connect to seeds if using an exclusive peer
Diffstat (limited to 'src/p2p')
-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 269a9ba87..142351801 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -1107,7 +1107,7 @@ namespace nodetool
template<class t_payload_net_handler>
bool node_server<t_payload_net_handler>::connect_to_seed()
{
- if (m_seed_nodes.empty() || m_offline)
+ if (m_seed_nodes.empty() || m_offline || !m_exclusive_peers.empty())
return true;
size_t try_count = 0;