diff --git a/src/init.cpp b/src/init.cpp index 0eb5b529..8cbf21cc 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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) {