From 003fac3da45720904aff857f20c4c112f015bda4 Mon Sep 17 00:00:00 2001 From: woodser Date: Thu, 14 Jul 2022 11:39:57 -0400 Subject: [PATCH] update stagenet explorer --- core/src/main/java/bisq/core/user/Preferences.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/src/main/java/bisq/core/user/Preferences.java b/core/src/main/java/bisq/core/user/Preferences.java index 18ddaae0..083f9656 100644 --- a/core/src/main/java/bisq/core/user/Preferences.java +++ b/core/src/main/java/bisq/core/user/Preferences.java @@ -112,8 +112,8 @@ public final class Preferences implements PersistedDataHost, BridgeAddressProvid private static final ArrayList XMR_MAIN_NET_EXPLORERS = new ArrayList<>(Arrays.asList( new BlockChainExplorer("xmrchain.net", "https://xmrchain.net/tx/", "") )); - private static final ArrayList XMR_TEST_NET_EXPLORERS = new ArrayList<>(Arrays.asList( - new BlockChainExplorer("testnet.xmrchain.net", "https://testnet.xmrchain.net/tx/", "") + private static final ArrayList XMR_STAGE_NET_EXPLORERS = new ArrayList<>(Arrays.asList( + new BlockChainExplorer("stagenet.xmrchain.net", "https://stagenet.xmrchain.net/tx/", "") )); private static final ArrayList XMR_TX_PROOF_SERVICES_CLEAR_NET = new ArrayList<>(Arrays.asList( @@ -273,10 +273,10 @@ public final class Preferences implements PersistedDataHost, BridgeAddressProvid BaseCurrencyNetwork baseCurrencyNetwork = Config.baseCurrencyNetwork(); if ("BTC".equals(baseCurrencyNetwork.getCurrencyCode())) { setBlockChainExplorerMainNet(BTC_MAIN_NET_EXPLORERS.get(0)); - setBlockChainExplorerTestNet(BTC_TEST_NET_EXPLORERS.get(0)); + setBlockChainExplorerStageNet(BTC_TEST_NET_EXPLORERS.get(0)); } else if ("XMR".equals(baseCurrencyNetwork.getCurrencyCode())) { setBlockChainExplorerMainNet(XMR_MAIN_NET_EXPLORERS.get(0)); - setBlockChainExplorerTestNet(XMR_TEST_NET_EXPLORERS.get(0)); + setBlockChainExplorerStageNet(XMR_STAGE_NET_EXPLORERS.get(0)); } else { throw new RuntimeException("BaseCurrencyNetwork not defined. BaseCurrencyNetwork=" + baseCurrencyNetwork); } @@ -420,7 +420,7 @@ public final class Preferences implements PersistedDataHost, BridgeAddressProvid if (Config.baseCurrencyNetwork().isMainnet()) setBlockChainExplorerMainNet(blockChainExplorer); else - setBlockChainExplorerTestNet(blockChainExplorer); + setBlockChainExplorerStageNet(blockChainExplorer); } public void setTacAccepted(boolean tacAccepted) { @@ -632,7 +632,7 @@ public final class Preferences implements PersistedDataHost, BridgeAddressProvid requestPersistence(); } - private void setBlockChainExplorerTestNet(BlockChainExplorer blockChainExplorerTestNet) { + private void setBlockChainExplorerStageNet(BlockChainExplorer blockChainExplorerTestNet) { prefPayload.setBlockChainExplorerTestNet(blockChainExplorerTestNet); requestPersistence(); }