diff --git a/core/src/main/java/bisq/core/user/Preferences.java b/core/src/main/java/bisq/core/user/Preferences.java index a2ba7927e35..e2488e10a50 100644 --- a/core/src/main/java/bisq/core/user/Preferences.java +++ b/core/src/main/java/bisq/core/user/Preferences.java @@ -252,7 +252,13 @@ public void readPersisted() { useStandbyModeProperty.set(prefPayload.isUseStandbyMode()); cssThemeProperty.set(prefPayload.getCssTheme()); - // if no valid block explorer is set, randomly select a valid BSQ block explorer + // if no valid Bitcoin block explorer is set, select the 1st valid Bitcoin block explorer + ArrayList btcExplorers = getBlockChainExplorers(); + BlockChainExplorer btcExplorer = getBlockChainExplorer(); + if (btcExplorer == null || btcExplorers.contains(btcExplorer) == false) + setBlockChainExplorer(btcExplorers.get(0)); + + // if no valid BSQ block explorer is set, randomly select a valid BSQ block explorer ArrayList bsqExplorers = getBsqBlockChainExplorers(); BlockChainExplorer bsqExplorer = getBsqBlockChainExplorer(); if (bsqExplorer == null || bsqExplorers.contains(bsqExplorer) == false)