aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db.cpp b/db.cpp
index 6fbd4b9c4f..1d68bef655 100644
--- a/db.cpp
+++ b/db.cpp
@@ -454,6 +454,7 @@ bool CAddrDB::LoadAddresses()
while (fgets(psz, sizeof(psz), filein))
{
CAddress addr(psz, NODE_NETWORK);
+ addr.nTime = 0; // so it won't relay unless successfully connected
if (addr.IsValid())
AddAddress(*this, addr);
}