Browse Source

I broke -testnet with my TOR option-parsing fixes.

miguelfreitas
Gavin Andresen 13 years ago
parent
commit
8677f9c751
  1. 2
      src/init.cpp

2
src/init.cpp

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

Loading…
Cancel
Save