From c851111f6236beade0f030e01a0d55ff9a9471cb Mon Sep 17 00:00:00 2001 From: HenrikJannsen Date: Tue, 23 Jul 2024 13:34:16 +0700 Subject: [PATCH] Remove emzy bsq explorer from BSQ_MAIN_NET_EXPLORERS. Remove that entyr if it was used as persisted explorer. Signed-off-by: HenrikJannsen --- core/src/main/java/bisq/core/app/BisqSetup.java | 4 ++++ core/src/main/java/bisq/core/user/Preferences.java | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/bisq/core/app/BisqSetup.java b/core/src/main/java/bisq/core/app/BisqSetup.java index 1bc8fe2dcad..f47d77cc41c 100644 --- a/core/src/main/java/bisq/core/app/BisqSetup.java +++ b/core/src/main/java/bisq/core/app/BisqSetup.java @@ -790,6 +790,10 @@ private void maybeUpgradeBsqExplorerUrl() { preferences.getBsqBlockChainExplorers().size() > 0) { preferences.setBsqBlockChainExplorer(preferences.getBsqBlockChainExplorers().get(0)); } + if (preferences.getBsqBlockChainExplorer().name.equalsIgnoreCase("bisq.mempool.emzy.de (@emzy)") && + preferences.getBsqBlockChainExplorers().size() > 0) { + preferences.setBsqBlockChainExplorer(preferences.getBsqBlockChainExplorers().get(0)); + } } private void maybeShowTorAddressUpgradeInformation() { diff --git a/core/src/main/java/bisq/core/user/Preferences.java b/core/src/main/java/bisq/core/user/Preferences.java index 890e5315718..4af2385b6f7 100644 --- a/core/src/main/java/bisq/core/user/Preferences.java +++ b/core/src/main/java/bisq/core/user/Preferences.java @@ -115,7 +115,7 @@ public final class Preferences implements PersistedDataHost, BridgeAddressProvid )); public static final ArrayList BSQ_MAIN_NET_EXPLORERS = new ArrayList<>(Arrays.asList( - new BlockChainExplorer("bisq.mempool.emzy.de (@emzy)", "https://bisq.mempool.emzy.de/tx/", "https://bisq.mempool.emzy.de/address/") + new BlockChainExplorer("mempool.bisq.services (@devinbileck)", "https://mempool.bisq.services/bisq/tx/", "https://mempool.bisq.services/bisq/address/") )); private static final ArrayList XMR_TX_PROOF_SERVICES_CLEAR_NET = new ArrayList<>(Arrays.asList(