Updated on 2026-08-14
This commit is contained in:
parent
c0471dbf9f
commit
4e21f84b90
2 changed files with 3 additions and 4 deletions
|
|
@ -1348,7 +1348,7 @@ internal class SwapInteractorImpl @Inject constructor(
|
|||
} catch (e: IllegalStateException) {
|
||||
transactionManager.getFeeForGas(
|
||||
networkId = networkId,
|
||||
gas = transaction.gas,
|
||||
gas = transaction.gas.multiply(INCREASE_GAS_LIMIT_BY.toBigInteger()).divide(100.toBigInteger()),
|
||||
derivationPath = fromToken.network.derivationPath.value,
|
||||
)
|
||||
}
|
||||
|
|
@ -1971,7 +1971,7 @@ internal class SwapInteractorImpl @Inject constructor(
|
|||
gasLimit = 1.toBigInteger(),
|
||||
fee = demoFee.copy(value = normalDemoFee),
|
||||
|
||||
),
|
||||
),
|
||||
priorityFee = ProxyFee.Common(
|
||||
gasLimit = 1.toBigInteger(),
|
||||
fee = demoFee.copy(value = priorityDemoFee),
|
||||
|
|
|
|||
|
|
@ -1029,8 +1029,7 @@ internal class StateBuilder(
|
|||
val fromFiatAmount = getFormattedFiatAmount(fromCryptoCurrency.value.fiatRate?.multiply(fromAmount))
|
||||
val toFiatAmount = getFormattedFiatAmount(toCryptoCurrency.value.fiatRate?.multiply(toAmount))
|
||||
|
||||
val shouldShowStatus = providerState.type == ExchangeProviderType.CEX.providerName ||
|
||||
providerState.type == ExchangeProviderType.DEX_BRIDGE.providerName
|
||||
val shouldShowStatus = providerState.type == ExchangeProviderType.CEX.providerName
|
||||
return uiState.copy(
|
||||
successState = SwapSuccessStateHolder(
|
||||
timestamp = swapTransactionState.timestamp,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue