aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-12-11 17:19:51 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2009-12-11 17:19:51 +0000
commit651d33556982d038d39f04373b9f63913bf03187 (patch)
tree46288da7ea1b1a3a4879b7d9d710e189364a2d86
parent4ea3f3da1a0c00ea74e85c31a22ea94d18bbdf06 (diff)
misc
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@45 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-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);
}