general-fixes (#2912)

* Handle tokens bottomsheet triggering on non-evm wallets

* fix:Swith to the right fee currency when sending in bsc wallets
This commit is contained in:
David Adegoke
2026-02-17 23:35:53 +01:00
committed by GitHub
parent d96370ad90
commit 4838da68ec
3 changed files with 24 additions and 16 deletions
+2 -1
View File
@@ -1020,7 +1020,7 @@ abstract class EVMChainWalletBase
gasFee: estimatedFeesForTransaction,
priority: _credentials.priority,
currency: transactionCurrency,
feeCurrency: switch (selectedChainId) { 137 => "POL", _ => "ETH" },
feeCurrency: EVMChainUtils.getFeeCurrency(selectedChainId),
maxFeePerGas: maxFeePerGasForTransaction,
exponent: exponent,
contractAddress:
@@ -1051,6 +1051,7 @@ abstract class EVMChainWalletBase
final nativeCurrency = switch (selectedChainId) {
137 => CryptoCurrency.maticpoly,
56 => CryptoCurrency.bnb,
8453 => CryptoCurrency.baseEth,
42161 => CryptoCurrency.arbEth,
_ => CryptoCurrency.eth,