This commit is contained in:
Vitaliy 2021-01-28 19:04:23 +02:00
parent b43a4e46f3
commit 31dc53203d

View file

@ -81,7 +81,7 @@ public class OpenDBAPI {
responseStr, new TypeToken<HashMap<String, String>>() { responseStr, new TypeToken<HashMap<String, String>>() {
}.getType() }.getType()
); );
if (Algorithms.isEmpty(map) && map.containsKey("blockchain-name")) { if (!Algorithms.isEmpty(map) && map.containsKey("blockchain-name")) {
String blockchainName = map.get("blockchain-name"); String blockchainName = map.get("blockchain-name");
app.getSettings().OPR_BLOCKCHAIN_NAME.set(blockchainName); app.getSettings().OPR_BLOCKCHAIN_NAME.set(blockchainName);
} else { } else {