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:
parent
35d5aa36c9
commit
b50182aee7
1 changed files with 1 additions and 1 deletions
|
@ -1107,7 +1107,7 @@ namespace nodetool
|
||||||
template<class t_payload_net_handler>
|
template<class t_payload_net_handler>
|
||||||
bool node_server<t_payload_net_handler>::connect_to_seed()
|
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;
|
return true;
|
||||||
|
|
||||||
size_t try_count = 0;
|
size_t try_count = 0;
|
||||||
|
|
Loading…
Reference in a new issue