Change parseUri to compares with lowercase cryptocoin

This commit is contained in:
hvarona 2018-11-18 21:55:32 -04:00
parent 73ba419b66
commit dfca4b8c53

View file

@ -527,9 +527,9 @@ public class GeneralAccountManager implements CryptoAccountManager, CryptoNetInf
uri.append(address.getAddress()); uri.append(address.getAddress());
} }
if(request.getCurrency()!= null){ if(request.getAmount() > 0 ){
uri.append("?amount="); uri.append("?amount=");
uri.append(request.getAmount()); uri.append(Double.toString(request.getAmount()));
} }
System.out.println("GeneralAccountMAnager uri calculated : " + uri.toString()); System.out.println("GeneralAccountMAnager uri calculated : " + uri.toString());