nonce fix, fix sending tx to history service
This commit is contained in:
parent
3966b437c0
commit
eb1cc5a345
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue