mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #4365 from ddawson/ext-tor-nullptr
Fix NullPointerException with external tor usage
This commit is contained in:
commit
efe346a4ae
@ -64,7 +64,7 @@ public class RunningTor extends TorMode {
|
||||
Tor result;
|
||||
if (!password.isEmpty())
|
||||
result = new ExternalTor(controlPort, password);
|
||||
else if (cookieFile.exists())
|
||||
else if (cookieFile != null && cookieFile.exists())
|
||||
result = new ExternalTor(controlPort, cookieFile, useSafeCookieAuthentication);
|
||||
else
|
||||
result = new ExternalTor(controlPort);
|
||||
|
Loading…
Reference in New Issue
Block a user