Browse Source

net: use an internal address for fixed seeds

0.15
Cory Fields 8 years ago
parent
commit
d5c7c1cfe3
  1. 2
      src/net.cpp

2
src/net.cpp

@ -1718,7 +1718,7 @@ void CConnman::ThreadOpenConnections() @@ -1718,7 +1718,7 @@ void CConnman::ThreadOpenConnections()
if (!done) {
LogPrintf("Adding fixed seed nodes as DNS doesn't seem to be available.\n");
CNetAddr local;
LookupHost("127.0.0.1", local, false);
local.SetInternal("fixedseeds");
addrman.Add(convertSeed6(Params().FixedSeeds()), local);
done = true;
}

Loading…
Cancel
Save