Updated on 2026-08-14
This commit is contained in:
commit
5b16fdc96e
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ sealed class CryptoCurrency : Serializable {
|
||||||
require(name.isNotBlank()) { "Crypto currency name must not be blank" }
|
require(name.isNotBlank()) { "Crypto currency name must not be blank" }
|
||||||
require(symbol.isNotBlank()) { "Crypto currency symbol 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(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" }
|
require(derivationPath?.isNotBlank() ?: true) { "Crypto currency derivation path must not be blank" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue