mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user