mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-07 06:44:16 +00:00
WalletAppKit: configure Orchid/Tor to use the same directory as bitcoinj uses.
This commit is contained in:
parent
694b07ccd6
commit
047c5ccd03
@ -378,7 +378,9 @@ public class WalletAppKit extends AbstractIdleService {
|
||||
|
||||
protected PeerGroup createPeerGroup() throws TimeoutException {
|
||||
if (useTor) {
|
||||
return PeerGroup.newWithTor(params, vChain, new TorClient());
|
||||
TorClient torClient = new TorClient();
|
||||
torClient.getConfig().setDataDirectory(directory);
|
||||
return PeerGroup.newWithTor(params, vChain, torClient);
|
||||
}
|
||||
else
|
||||
return new PeerGroup(params, vChain);
|
||||
|
Loading…
Reference in New Issue
Block a user