mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-11-02 20:36:44 +00:00
use port instead of unix socket for internal tor control to avoid bug where unix socket path is too long
This commit is contained in:
parent
73d2d3cbbc
commit
0bc1dd96ed
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ public class Tor {
|
|||
dormantCanceledByStartup.set(TorConfig.Option.AorTorF.getTrue());
|
||||
builder.put(dormantCanceledByStartup);
|
||||
|
||||
TorConfig.Setting.Ports.Control controlPort = new TorConfig.Setting.Ports.Control();
|
||||
controlPort.set(TorConfig.Option.AorDorPort.Auto.INSTANCE);
|
||||
builder.put(controlPort);
|
||||
|
||||
return builder.build();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue