1
0
Fork 0
mirror of https://git.wownero.com/wownero/wownero.git synced 2024-08-15 01:03:23 +00:00

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

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;