net: use an internal address for fixed seeds

This commit is contained in:
Cory Fields 2017-06-21 15:45:20 -04:00
parent 6cdc488e36
commit d5c7c1cfe3

View file

@ -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;
}