log: Clarify log message when file does not exist

Also, run clang-format on the function
This commit is contained in:
MarcoFalke
2021-02-18 13:34:18 +01:00
parent db656db2ed
commit faf48f20f1
3 changed files with 8 additions and 8 deletions

View File

@@ -2391,7 +2391,7 @@ bool CConnman::Start(CScheduler& scheduler, const Options& connOptions)
LogPrintf("Loaded %i addresses from peers.dat %dms\n", addrman.size(), GetTimeMillis() - nStart);
else {
addrman.Clear(); // Addrman can be in an inconsistent state after failure, reset it
LogPrintf("Invalid or missing peers.dat; recreating\n");
LogPrintf("Recreating peers.dat\n");
DumpAddresses();
}
}