Updated on 2026-08-14

This commit is contained in:
Tangem 2024-10-07 17:05:20 +04:00
parent 507169a2c3
commit 73e5909485
2 changed files with 10 additions and 1 deletions

View file

@ -149,7 +149,7 @@ internal class ManagedCryptoCurrencyFactory {
symbol = coinResponse.symbol,
iconUrl = getIconUrl(coinResponse.id, imageHost),
availableNetworks = availableNetworks,
addedIn = findAddedInNetworks(coinResponse.id, tokensResponse, derivationStyleProvider),
addedIn = findAddedInNetworks(coinResponse.id, tokensResponse, scanResponse),
)
}

View file

@ -843,6 +843,7 @@ internal class SwapInteractorImpl @AssistedInject constructor(
)
}
@Suppress("LongMethod")
private fun getFeeForTransaction(fee: TxFee, blockchain: Blockchain): Fee {
val feeAmountValue = fee.feeValue
val feeAmount = Amount(
@ -1035,6 +1036,14 @@ internal class SwapInteractorImpl @AssistedInject constructor(
Blockchain.Cyber,
Blockchain.CyberTestnet,
Blockchain.InternetComputer,
Blockchain.EnergyWebChain,
Blockchain.EnergyWebChainTestnet,
Blockchain.EnergyWebX,
Blockchain.EnergyWebXTestnet,
Blockchain.Casper,
Blockchain.CasperTestnet,
Blockchain.Core,
Blockchain.CoreTestnet,
-> Fee.Common(feeAmount)
// endregion
}