mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #5334
19f8089f
p2p: don't lookup seed nodes when offline (moneromooo-monero)
This commit is contained in:
commit
6e0242f861
1 changed files with 1 additions and 1 deletions
|
@ -502,7 +502,7 @@ namespace nodetool
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
memcpy(&m_network_id, &::config::NETWORK_ID, 16);
|
memcpy(&m_network_id, &::config::NETWORK_ID, 16);
|
||||||
if (m_exclusive_peers.empty())
|
if (m_exclusive_peers.empty() && !m_offline)
|
||||||
{
|
{
|
||||||
// for each hostname in the seed nodes list, attempt to DNS resolve and
|
// for each hostname in the seed nodes list, attempt to DNS resolve and
|
||||||
// add the result addresses as seed nodes
|
// add the result addresses as seed nodes
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue