Update txRunner.js

pull/7/head
yann300 6 years ago committed by GitHub
parent 9905f5fc1f
commit 084ed0c999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      remix-lib/src/execution/txRunner.js

@ -135,7 +135,7 @@ TxRunner.prototype.runInNode = function (from, to, data, value, gasLimit, useCal
return executionContext.web3().eth.call(tx, function (error, result) {
callback(error, {
result: result,
transactionHash: result.transactionHash
transactionHash: result ? result.transactionHash : null
})
})
}
@ -187,7 +187,7 @@ function tryTillResponse (txhash, done) {
} else {
done(err, {
result: result,
transactionHash: result.transactionHash
transactionHash: result ? result.transactionHash : null
})
}
})

Loading…
Cancel
Save