diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-17 11:17:21 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-01-17 11:17:21 +0000 |
commit | b50182aee71f3068f3ce4857f578db39767b8a80 (patch) | |
tree | 9830b053696af6f1e1d54a376ffaa7c9a69108c5 /src/p2p | |
parent | Merge pull request #3091 (diff) | |
download | monero-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.inl | 2 |
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; |