I broke -testnet with my TOR option-parsing fixes.
authorGavin Andresen <gavinandresen@gmail.com>
Tue, 3 Jan 2012 16:17:04 +0000 (11:17 -0500)
committerGavin Andresen <gavinandresen@gmail.com>
Tue, 3 Jan 2012 16:17:24 +0000 (11:17 -0500)
src/init.cpp

index 0eb5b52..8cbf21c 100644 (file)
@@ -248,6 +248,7 @@ bool AppInit2(int argc, char* argv[])
         return false;
     }
 
+    fTestNet = GetBoolArg("-testnet");
     fDebug = GetBoolArg("-debug");
 
 #ifndef WIN32
@@ -469,7 +470,6 @@ bool AppInit2(int argc, char* argv[])
         }
     }
 
-    fTestNet = GetBoolArg("-testnet");
     bool fTor = (fUseProxy && addrProxy.port == htons(9050));
     if (fTor)
     {