mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-26 17:32:33 +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>
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue