mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 12:29:51 +00:00
CW-672: Enhance ETH Wallet Fee Calculation - Fix ERC20 Transaction Fee (#1548)
* fix: Eth transaction fees WIP
* Revert "fix: Eth transaction fees WIP"
This reverts commit b9a469bc7e
.
* fix: Modifying fee WIP
* fix: Enhance ETH Wallet fee calculation WIP
* feat: Enhance Transaction fees for ETH Transactions, Native transactions done, left with ERC20 transactions
* fix: Pre PR cleanups
* fix: ETH transaction fees for ERC20 transactions
* fix: ETH transaction fees for ERC20 transactions
* chore: Clarify comment in getEstimatedGas
* fix: Switch call to estimate gas units to a more cleaner approach
This commit is contained in:
parent
5c9f176d18
commit
a4282cb704
2 changed files with 9 additions and 11 deletions
|
@ -387,8 +387,6 @@ abstract class EVMChainWalletBase
|
|||
|
||||
estimatedFeesForTransaction = BigInt.from(estimateFees);
|
||||
|
||||
debugPrint('Estimated Fees for Transaction: $estimatedFeesForTransaction');
|
||||
|
||||
if (output.sendAll && transactionCurrency is! Erc20Token) {
|
||||
totalAmount = (erc20Balance.balance - estimatedFeesForTransaction);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue