aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorEric Lombrozo <elombrozo@gmail.com>2013-01-06 04:30:00 -0800
committerEric Lombrozo <elombrozo@gmail.com>2013-06-05 20:36:10 -0700
commit336fe971e68f0336d42e1fa930b6a9c717f612e0 (patch)
treeac1e93fe3b0abf840db3c33ec52a7de665d66a0d /src/init.cpp
parentc94bd68547df9ba7645305f9813e02d548e8a981 (diff)
Get rid of db dependencies on main
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index dcc43d8368..e4cb2f1d00 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -928,6 +928,7 @@ bool AppInit2(boost::thread_group& threadGroup)
nStart = GetTimeMillis();
{
+ CAddrDB::SetMessageStart(pchMessageStart);
CAddrDB adb;
if (!adb.Read(addrman))
printf("Invalid or missing peers.dat; recreating\n");