mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-27 05:13:25 +01:00
p2p: don't connect to seeds if using an exclusive peer
This commit is contained in:
parent
35d5aa36c9
commit
b50182aee7
@ -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 New Issue
Block a user