From f219ccee4720a1ea81f4328c8a8ef2749471d97f Mon Sep 17 00:00:00 2001 From: Severiano Jaramillo Date: Mon, 27 Aug 2018 13:03:15 -0500 Subject: [PATCH] Temporal fix to avoid compilation errors --- .../agorise/crystalwallet/application/CrystalApplication.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/application/CrystalApplication.java b/app/src/main/java/cy/agorise/crystalwallet/application/CrystalApplication.java index d6dad49..6431e7c 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/application/CrystalApplication.java +++ b/app/src/main/java/cy/agorise/crystalwallet/application/CrystalApplication.java @@ -93,7 +93,9 @@ public class CrystalApplication extends Application { CryptoNetEvents.getInstance().addListener(crystalWalletNotifier); //Next line is for use the bitshares main net - CryptoNetManager.addCryptoNetURL(CryptoNet.BITSHARES,BITSHARES_URL); + // TODO fix, the following line accepts one string not an array it needs to accept an arrey + // TODO and hoop over the urls if no connection can be established + CryptoNetManager.addCryptoNetURL(CryptoNet.BITSHARES,BITSHARES_URL[2]); GeneralSetting generalSettingPreferredLanguage = db.generalSettingDao().getSettingByName(GeneralSetting.SETTING_NAME_PREFERRED_LANGUAGE);