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

This commit is contained in:
Gavin Andresen
2012-01-03 11:17:04 -05:00
committed by Luke Dashjr
parent 84393f15b6
commit cc6bd19660

View 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)
{