From dfca4b8c53583e58f170dbb2f63614e0e9429e67 Mon Sep 17 00:00:00 2001 From: hvarona Date: Sun, 18 Nov 2018 21:55:32 -0400 Subject: [PATCH] Change parseUri to compares with lowercase cryptocoin --- .../agorise/crystalwallet/manager/GeneralAccountManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 205baa8..6af2174 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/manager/GeneralAccountManager.java +++ b/app/src/main/java/cy/agorise/crystalwallet/manager/GeneralAccountManager.java @@ -527,9 +527,9 @@ public class GeneralAccountManager implements CryptoAccountManager, CryptoNetInf uri.append(address.getAddress()); } - if(request.getCurrency()!= null){ + if(request.getAmount() > 0 ){ uri.append("?amount="); - uri.append(request.getAmount()); + uri.append(Double.toString(request.getAmount())); } System.out.println("GeneralAccountMAnager uri calculated : " + uri.toString());