Unverified Commit 084ed0c9 authored by yann300's avatar yann300 Committed by GitHub

Update txRunner.js

parent 9905f5fc
......@@ -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
})
}
})
......
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