From 2e2ee010527ff582487b144d51fbc9044810841a Mon Sep 17 00:00:00 2001 From: hvarona Date: Sun, 18 Nov 2018 21:24:15 -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 6b437c1..a03fe92 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())){ + if(cryptoNet.equalsIgnoreCase(this.cryptoCoin.getLabel().toLowerCase())){ try{ Address address = Address.fromBase58(this.cryptoCoin.getParameters(), request.getAddress()); request.setAddress(address.toString());