Commit 1fa4e1ee authored by aniket-engg's avatar aniket-engg Committed by Aniket

remove timestamp for kovan

parent 6c99904f
...@@ -72,13 +72,19 @@ export class TxRunnerWeb3 { ...@@ -72,13 +72,19 @@ export class TxRunnerWeb3 {
const tx = { from: from, to: to, data: data, value: value } const tx = { from: from, to: to, data: data, value: value }
if (useCall) { if (useCall) {
const tag = Date.now() // for e2e reference
tx['gas'] = gasLimit tx['gas'] = gasLimit
// tx['timestamp'] = timestamp tx['timestamp'] = timestamp
return this.getWeb3().eth.call(tx, function (error, result: any) { return this._api.detectNetwork((err, network) => {
if (error) return callback(error) if (err) {
callback(null, { console.log(err)
result: result return
} else if (network && network.name === 'Kovan') delete tx['timestamp']
return this.getWeb3().eth.call(tx, function (error, result: any) {
if (error) return callback(error)
callback(null, {
result: result
})
}) })
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment