p2p: don't connect to seeds if using an exclusive peer

This commit is contained in:
moneromooo-monero 2018-01-17 11:17:21 +00:00
parent 35d5aa36c9
commit b50182aee7
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 1 additions and 1 deletions

View File

@ -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;