Remove the LOCKS_SWITCH_TIME conditions
[novacoin.git] / src / init.cpp
index b888afd..59ce450 100644 (file)
@@ -27,6 +27,7 @@ using namespace boost;
 CWallet* pwalletMain;
 CClientUIInterface uiInterface;
 std::string strWalletFileName;
+unsigned int nNodeLifespan;
 
 //////////////////////////////////////////////////////////////////////////////
 //
@@ -350,6 +351,8 @@ bool AppInit2()
 
     // ********************************************************* Step 2: parameter interactions
 
+    nNodeLifespan = GetArg("-addrlifespan", 7);
+
     fTestNet = GetBoolArg("-testnet");
     if (fTestNet) {
         SoftSetBoolArg("-irc", true);