From 588a07b03f66ce691c7dbf1fd6ab8f2ba682725a Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Fri, 21 Jul 2023 17:41:14 +0300 Subject: [PATCH] Fix Transaction Fee display --- cw_ethereum/lib/ethereum_transaction_info.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cw_ethereum/lib/ethereum_transaction_info.dart b/cw_ethereum/lib/ethereum_transaction_info.dart index 303eb121c..0c642b947 100644 --- a/cw_ethereum/lib/ethereum_transaction_info.dart +++ b/cw_ethereum/lib/ethereum_transaction_info.dart @@ -39,7 +39,7 @@ class EthereumTransactionInfo extends TransactionInfo { void changeFiatAmount(String amount) => _fiatAmount = formatAmount(amount); @override - String feeFormatted() => '${(BigInt.from(fee) / BigInt.from(10).pow(exponent)).toString()} ETH'; + String feeFormatted() => '${(BigInt.from(fee) / BigInt.from(10).pow(18)).toString()} ETH'; factory EthereumTransactionInfo.fromJson(Map data) { return EthereumTransactionInfo(