File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
core/src/main/java/bisq/core/user Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,13 @@ public void selectNodes() {
26
26
// if no valid Bitcoin block explorer is set, select the 1st valid Bitcoin block explorer
27
27
ArrayList <BlockChainExplorer > btcExplorers = preferences .getBlockChainExplorers ();
28
28
if (preferences .getBlockChainExplorer () == null ||
29
- preferences .getBlockChainExplorer ().getName ().length () == 0 ||
30
29
preferences .getBlockChainExplorer ().getName ().matches (deprecatedExplorers )) {
31
30
preferences .setBlockChainExplorer (btcExplorers .get (0 ));
32
31
}
33
32
34
33
// if no valid BSQ block explorer is set, randomly select a valid BSQ block explorer
35
34
ArrayList <BlockChainExplorer > bsqExplorers = preferences .getBsqBlockChainExplorers ();
36
35
if (preferences .getBsqBlockChainExplorer () == null ||
37
- preferences .getBsqBlockChainExplorer ().getName ().length () == 0 ||
38
36
preferences .getBsqBlockChainExplorer ().getName ().matches (deprecatedExplorers )) {
39
37
preferences .setBsqBlockChainExplorer (bsqExplorers .get ((new Random ()).nextInt (bsqExplorers .size ())));
40
38
}
You can’t perform that action at this time.
0 commit comments