From 230c792e9292014dfde868da1356bb961367ab66 Mon Sep 17 00:00:00 2001 From: apanizo Date: Fri, 17 Aug 2018 17:52:25 +0200 Subject: [PATCH] WA-521 Not converting to Wei twice --- src/logic/safe/safeFrontendOperations.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/logic/safe/safeFrontendOperations.js b/src/logic/safe/safeFrontendOperations.js index 44b2c562..7097db39 100644 --- a/src/logic/safe/safeFrontendOperations.js +++ b/src/logic/safe/safeFrontendOperations.js @@ -62,9 +62,8 @@ export const processTransaction = async ( sender: string, threshold: number, ) => { - const web3 = getWeb3() const nonce = tx.get('nonce') - const valueInWei = web3.toWei(tx.get('value'), 'ether') + const valueInWei = tx.get('value') const to = tx.get('destination') const data = tx.get('data') const CALL = 0