Updated on 2026-08-14
This commit is contained in:
parent
85ea643f3b
commit
fa6b338401
6 changed files with 21 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue