WA-521 Not converting to Wei twice

This commit is contained in:
apanizo 2018-08-17 17:52:25 +02:00
parent 82f4a24749
commit 230c792e92
1 changed files with 1 additions and 2 deletions

View File

@ -62,9 +62,8 @@ export const processTransaction = async (
sender: string, sender: string,
threshold: number, threshold: number,
) => { ) => {
const web3 = getWeb3()
const nonce = tx.get('nonce') const nonce = tx.get('nonce')
const valueInWei = web3.toWei(tx.get('value'), 'ether') const valueInWei = tx.get('value')
const to = tx.get('destination') const to = tx.get('destination')
const data = tx.get('data') const data = tx.get('data')
const CALL = 0 const CALL = 0