Updated on 2026-08-14

This commit is contained in:
Tangem 2023-06-02 17:18:37 +03:00
parent 85ea643f3b
commit fa6b338401
6 changed files with 21 additions and 20 deletions

View file

@ -100,7 +100,7 @@ suspend fun CurrencyExchangeManager.buyErc20TestnetTokens(
amountToSend,
destinationAddress,
) as? Result.Success ?: return
val fee = feeResult.data.minimum
val fee = feeResult.data.minimum.amount
val coinValue = walletManager.wallet.amounts[AmountType.Coin]?.value ?: BigDecimal.ZERO
if (coinValue < fee.value) return