Updated on 2026-08-14
This commit is contained in:
parent
d54f8452b6
commit
c1935b5938
9 changed files with 24 additions and 29 deletions
|
|
@ -97,9 +97,9 @@ suspend fun CurrencyExchangeManager.buyErc20TestnetTokens(
|
|||
val destinationAddress = token.contractAddress
|
||||
|
||||
val feeResult = walletManager.getFee(
|
||||
amountToSend,
|
||||
destinationAddress,
|
||||
) as? Result.Success ?: return
|
||||
amountToSend,
|
||||
destinationAddress,
|
||||
) as? Result.Success ?: return
|
||||
val fee = feeResult.data.minimum
|
||||
|
||||
val coinValue = walletManager.wallet.amounts[AmountType.Coin]?.value ?: BigDecimal.ZERO
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue