Updated on 2026-08-14

This commit is contained in:
Tangem 2020-03-18 18:36:56 +03:00
parent 0f2b616f73
commit c995e6cfe7
2 changed files with 6 additions and 1 deletions

View file

@ -356,7 +356,7 @@ public class XrpEngine extends CoinEngine {
Long.valueOf(amount).compareTo(coinData.getReserveInInternalUnits().longValue()) < 0
) {
String reserveDescription = convertToAmount(coinData.getReserveInInternalUnits()).toDescriptionString(getDecimals());
throw new Exception("Target account is not created. Amount should be " + reserveDescription + " or more");
throw new IllegalArgumentException("Target account is not created. Send " + reserveDescription + " or more to create");
}
XrpPayment payment = new XrpPayment();