From f62e15918fcb07285241046967d5c332043f0125 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Fri, 22 Mar 2019 16:35:48 +0100 Subject: [PATCH] fix(): convert the gasPrice in Gwei --- packages/fether-react/src/utils/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/fether-react/src/utils/transaction.js b/packages/fether-react/src/utils/transaction.js index c416e5c30..c0ab9770e 100644 --- a/packages/fether-react/src/utils/transaction.js +++ b/packages/fether-react/src/utils/transaction.js @@ -131,7 +131,7 @@ const getEthereumTx = tx => { const txParams = { nonce: '0x' + transactionCount.toNumber().toString(16), gasLimit: '0x' + gas.toNumber().toString(16), - gasPrice, + gasPrice: toWei(gasPrice, 'shannon').toNumber(), chainId };