From 78ae449e1841678571193d2eeaeb801d2a6207a1 Mon Sep 17 00:00:00 2001 From: woodser Date: Sun, 5 May 2024 11:11:48 -0400 Subject: [PATCH] use dns seed nodes from MainNetParams on stagenet --- .../src/main/java/haveno/common/config/BaseCurrencyNetwork.java | 2 +- core/src/main/java/haveno/core/xmr/setup/WalletsSetup.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/haveno/common/config/BaseCurrencyNetwork.java b/common/src/main/java/haveno/common/config/BaseCurrencyNetwork.java index 6e2bf80c..684eb2bc 100644 --- a/common/src/main/java/haveno/common/config/BaseCurrencyNetwork.java +++ b/common/src/main/java/haveno/common/config/BaseCurrencyNetwork.java @@ -76,7 +76,7 @@ public enum BaseCurrencyNetwork { } } - private static class XmrStageNetParams extends RegTestParams { + private static class XmrStageNetParams extends MainNetParams { @Override public MonetaryFormat getMonetaryFormat() { return XMR_MONETARY_FORMAT; diff --git a/core/src/main/java/haveno/core/xmr/setup/WalletsSetup.java b/core/src/main/java/haveno/core/xmr/setup/WalletsSetup.java index ca0cdbcd..78d55c2d 100644 --- a/core/src/main/java/haveno/core/xmr/setup/WalletsSetup.java +++ b/core/src/main/java/haveno/core/xmr/setup/WalletsSetup.java @@ -226,7 +226,7 @@ public class WalletsSetup { walletConfig.connectToLocalHost(); } else { try { - //configPeerNodes(socks5Proxy); + configPeerNodes(socks5Proxy); } catch (IllegalArgumentException e) { timeoutTimer.stop(); walletsSetupFailed.set(true);