Merge pull request #5094 from chimp1984/fix-bug-with-ignoreLocalBtcNode

Fix bug with ignoreLocalBtcNode
This commit is contained in:
sqrrm 2021-01-20 13:24:39 +01:00 committed by GitHub
commit 2c348f7d7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ public class WalletConfig extends AbstractIdleService {
ProxySocketFactory proxySocketFactory = new ProxySocketFactory(proxy); ProxySocketFactory proxySocketFactory = new ProxySocketFactory(proxy);
// We don't use tor mode if we have a local node running // We don't use tor mode if we have a local node running
BlockingClientManager blockingClientManager = config.ignoreLocalBtcNode ? BlockingClientManager blockingClientManager = localBitcoinNode.shouldBeUsed() ?
new BlockingClientManager() : new BlockingClientManager() :
new BlockingClientManager(proxySocketFactory); new BlockingClientManager(proxySocketFactory);