From ce1df325d8eb136db52ba050eee43599bb942aa2 Mon Sep 17 00:00:00 2001 From: hvarona Date: Sun, 18 Nov 2018 21:30:42 -0400 Subject: [PATCH] Change parseUri to compares with lowercase cryptocoin --- .../cy/agorise/crystalwallet/manager/GeneralAccountManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/cy/agorise/crystalwallet/manager/GeneralAccountManager.java b/app/src/main/java/cy/agorise/crystalwallet/manager/GeneralAccountManager.java index a03fe92..a0f3911 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/manager/GeneralAccountManager.java +++ b/app/src/main/java/cy/agorise/crystalwallet/manager/GeneralAccountManager.java @@ -542,7 +542,7 @@ public class GeneralAccountManager implements CryptoAccountManager, CryptoNetInf String uri = request.getUri(); if(uri.indexOf(":")>0){ String cryptoNet = uri.substring(0,uri.indexOf(":")); - if(cryptoNet.equalsIgnoreCase(this.cryptoCoin.getLabel().toLowerCase())){ + if(cryptoNet.equalsIgnoreCase(this.cryptoCoin.name().toLowerCase())){ try{ Address address = Address.fromBase58(this.cryptoCoin.getParameters(), request.getAddress()); request.setAddress(address.toString());