mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 14:42:37 +01:00
Merge pull request #4365 from ddawson/ext-tor-nullptr
Fix NullPointerException with external tor usage
This commit is contained in:
commit
efe346a4ae
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue