Updated on 2026-08-14

This commit is contained in:
Tangem 2023-09-10 18:07:27 +03:00
commit 5b16fdc96e

View file

@ -159,7 +159,7 @@ sealed class CryptoCurrency : Serializable {
require(name.isNotBlank()) { "Crypto currency name must not be blank" }
require(symbol.isNotBlank()) { "Crypto currency symbol must not be blank" }
require(iconUrl?.isNotBlank() ?: true) { "Crypto currency icon URL must not be blank" }
require(decimals > 0) { "Crypto currency decimal must not be less then zero, but it is: $decimals" }
require(decimals >= 0) { "Crypto currency decimal must not be less then zero, but it is: $decimals" }
require(derivationPath?.isNotBlank() ?: true) { "Crypto currency derivation path must not be blank" }
}
}