mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-11-23 10:37:37 -07: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