mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 12:32:48 +01:00
Don't listen if on TOR (resolves #441).
This commit is contained in:
parent
918150048a
commit
01a509fa26
@ -247,7 +247,8 @@ bool AppInit2(int argc, char* argv[])
|
||||
fPrintToDebugger = GetBoolArg("-printtodebugger");
|
||||
|
||||
fTestNet = GetBoolArg("-testnet");
|
||||
fNoListen = GetBoolArg("-nolisten");
|
||||
bool fTOR = (fUseProxy && addrProxy.port == htons(9050));
|
||||
fNoListen = GetBoolArg("-nolisten") || fTOR;
|
||||
fLogTimestamps = GetBoolArg("-logtimestamps");
|
||||
|
||||
for (int i = 1; i < argc; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user