From a139ed74f2a5764afbd678c0e4eb6143455a3a49 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Tue, 26 Jul 2011 15:15:55 -0400 Subject: [PATCH] CAddrDB::LoadAddresses: properly initialize CAddress Fixes issue #424 --- src/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.cpp b/src/db.cpp index 6692db239..9c8c9c4f7 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -528,7 +528,7 @@ bool CAddrDB::LoadAddresses() char psz[1000]; while (fgets(psz, sizeof(psz), filein)) { - CAddress addr(psz, NODE_NETWORK); + CAddress addr(psz, false, NODE_NETWORK); addr.nTime = 0; // so it won't relay unless successfully connected if (addr.IsValid()) AddAddress(addr);