Updated on 2026-08-14

This commit is contained in:
Tangem 2023-07-12 22:52:06 +03:00
parent d54f8452b6
commit c1935b5938
9 changed files with 24 additions and 29 deletions

View file

@ -226,7 +226,7 @@ class TransactionManagerImpl(
ProxyFees(
minFee = singleFee,
normalFee = singleFee,
priorityFee = singleFee
priorityFee = singleFee,
)
}
is TransactionFee.Choosable -> {
@ -243,11 +243,10 @@ class TransactionManagerImpl(
priorityFee = ProxyFee(
gasLimit = BigInteger.ZERO,
fee = convertToProxyAmount(amount = choosableFee.priority.amount),
)
),
)
}
}
}
is Result.Failure -> {
error(fee.error.message ?: fee.error.customMessage)
@ -310,7 +309,7 @@ class TransactionManagerImpl(
gasLimit = (choosableFee.priority as Fee.Ethereum).gasLimit,
fee = convertToProxyAmount(amount = choosableFee.priority.amount),
)
ProxyFees(
minFee = minProxyFee,
normalFee = normalProxyFee,