Change parseUri to compares with lowercase cryptocoin
This commit is contained in:
parent
2e2ee01052
commit
ce1df325d8
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue