From 4c5676d5aafcdee1d08a17b177e21274803b671f Mon Sep 17 00:00:00 2001 From: yhtiyar Date: Fri, 6 Aug 2021 19:00:05 +0300 Subject: [PATCH] made wei units eth units --- frontend/src/components/TxInfo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/TxInfo.js b/frontend/src/components/TxInfo.js index 693efda7..f86132dc 100644 --- a/frontend/src/components/TxInfo.js +++ b/frontend/src/components/TxInfo.js @@ -58,7 +58,6 @@ const TxInfo = (props) => { Value - {transaction.tx.value} wei {toEth(transaction.tx.value)} eth amount of ETH to transfer @@ -70,7 +69,7 @@ const TxInfo = (props) => { Gas price - {transaction.tx.gasPrice} wei + {toEth(transaction.tx.gasPrice)} eth the fee the sender pays per unit of gas