Updated on 2026-08-14

This commit is contained in:
Tangem 2020-07-20 22:58:59 +03:00
parent 5ff859d0a9
commit 0a6264c1f9
20 changed files with 736 additions and 105 deletions

View file

@ -124,18 +124,7 @@ public class XrpEngine extends CoinEngine {
return false;
}
if (address.contains("$")) { // PayID
String[] addressParts = address.split("\\$");
if (addressParts.length != 2) {
return false;
}
String addressURL = "https://" + addressParts[1] + "/" + addressParts[0];
try {
new URL(addressURL).toURI();
return true;
} catch (Exception e) {
return false;
}
return validatePayId(address);
}
try {
Addresses.decodeAccountID(address);