Updated on 2026-08-14

This commit is contained in:
Tangem 2024-11-18 20:40:04 +05:00
parent 0f74d89efc
commit 6b6518ca86

View file

@ -129,7 +129,7 @@ object NotificationsFactory {
val spendingAmount = if (cryptoCurrency is CryptoCurrency.Token) {
feeAmount
} else {
receivedAmount
receivedAmount + feeAmount
}
val diff = balance.minus(spendingAmount)
if (existentialDeposit != null && diff >= BigDecimal.ZERO && existentialDeposit > diff) {