nonce fix, fix sending tx to history service

This commit is contained in:
Mikhail Mikheev 2019-06-17 18:21:44 +04:00
parent 3966b437c0
commit eb1cc5a345
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ const createTransaction = (
const web3 = getWeb3() const web3 = getWeb3()
const from = userAccountSelector(state) const from = userAccountSelector(state)
const threshold = await safeInstance.getThreshold() const threshold = await safeInstance.getThreshold()
const nonce = await safeInstance.nonce() const nonce = (await safeInstance.nonce()).toString()
const txRecipient = isSendingETH ? to : token.address const txRecipient = isSendingETH ? to : token.address
const valueInWei = web3.utils.toWei(valueInEth, 'ether') const valueInWei = web3.utils.toWei(valueInEth, 'ether')
let txAmount = valueInWei let txAmount = valueInWei