Change parseUri to compares with lowercase cryptocoin
This commit is contained in:
parent
5aa7175016
commit
2e2ee01052
1 changed files with 1 additions and 1 deletions
|
@ -542,7 +542,7 @@ public class GeneralAccountManager implements CryptoAccountManager, CryptoNetInf
|
||||||
String uri = request.getUri();
|
String uri = request.getUri();
|
||||||
if(uri.indexOf(":")>0){
|
if(uri.indexOf(":")>0){
|
||||||
String cryptoNet = uri.substring(0,uri.indexOf(":"));
|
String cryptoNet = uri.substring(0,uri.indexOf(":"));
|
||||||
if(cryptoNet.equalsIgnoreCase(this.cryptoCoin.getLabel())){
|
if(cryptoNet.equalsIgnoreCase(this.cryptoCoin.getLabel().toLowerCase())){
|
||||||
try{
|
try{
|
||||||
Address address = Address.fromBase58(this.cryptoCoin.getParameters(), request.getAddress());
|
Address address = Address.fromBase58(this.cryptoCoin.getParameters(), request.getAddress());
|
||||||
request.setAddress(address.toString());
|
request.setAddress(address.toString());
|
||||||
|
|
Loading…
Reference in a new issue