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)
committerLuke Dashjr <luke-jr+git@utopios.org>
Tue, 3 Jan 2012 17:17:54 +0000 (12:17 -0500)
src/init.cpp

index 292424f..d1332e0 100644 (file)
@@ -237,6 +237,7 @@ bool AppInit2(int argc, char* argv[])
         return false;
     }
 
+    fTestNet = GetBoolArg("-testnet");
     fDebug = GetBoolArg("-debug");
 
 #ifndef __WXMSW__
@@ -499,7 +500,6 @@ bool AppInit2(int argc, char* argv[])
         }
     }
 
-    fTestNet = GetBoolArg("-testnet");
     bool fTor = (fUseProxy && addrProxy.port == htons(9050));
     if (fTor)
     {