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