mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 20:12:57 +01:00
misc
This commit is contained in:
parent
0bbbee96b7
commit
433fb54b25
1
db.cpp
1
db.cpp
@ -454,6 +454,7 @@ bool CAddrDB::LoadAddresses()
|
|||||||
while (fgets(psz, sizeof(psz), filein))
|
while (fgets(psz, sizeof(psz), filein))
|
||||||
{
|
{
|
||||||
CAddress addr(psz, NODE_NETWORK);
|
CAddress addr(psz, NODE_NETWORK);
|
||||||
|
addr.nTime = 0; // so it won't relay unless successfully connected
|
||||||
if (addr.IsValid())
|
if (addr.IsValid())
|
||||||
AddAddress(*this, addr);
|
AddAddress(*this, addr);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user