misc
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@45 1a98c847-1fd6-4fd8-948a-caf3550aa51b
This commit is contained in:
parent
4ea3f3da1a
commit
651d335569
1 changed files with 1 additions and 0 deletions
1
db.cpp
1
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue