diff --git a/core/src/main/java/bisq/core/btc/setup/WalletConfig.java b/core/src/main/java/bisq/core/btc/setup/WalletConfig.java index 85bcdebed93..3fd092833b8 100644 --- a/core/src/main/java/bisq/core/btc/setup/WalletConfig.java +++ b/core/src/main/java/bisq/core/btc/setup/WalletConfig.java @@ -216,8 +216,6 @@ private PeerGroup createPeerGroup() { // no proxy case. if (socks5Proxy == null) { peerGroup = new PeerGroup(params, vChain); - // For dao testnet (server side regtest) we prevent to connect to a localhost node to avoid confusion - // if local btc node is not synced with our dao testnet master node. } else { // proxy case (tor). Proxy proxy = new Proxy(Proxy.Type.SOCKS, @@ -238,7 +236,9 @@ private PeerGroup createPeerGroup() { // For dao testnet (server side regtest) we prevent to connect to a localhost node to avoid confusion // if local btc node is not synced with our dao testnet master node. - if (BisqEnvironment.getBaseCurrencyNetwork().isDaoRegTest() || BisqEnvironment.getBaseCurrencyNetwork().isDaoTestNet()) + if (BisqEnvironment.getBaseCurrencyNetwork().isDaoRegTest() || + BisqEnvironment.getBaseCurrencyNetwork().isDaoTestNet() || + !bisqEnvironment.isBitcoinLocalhostNodeRunning()) peerGroup.setUseLocalhostPeerWhenPossible(false); return peerGroup;