diff --git a/src/app/execution/txRunner.js b/src/app/execution/txRunner.js index 0d48c8e485..08ffd22619 100644 --- a/src/app/execution/txRunner.js +++ b/src/app/execution/txRunner.js @@ -191,8 +191,8 @@ TxRunner.prototype.execute = function (args, callback) { function tryTillResponse (txhash, done) { executionContext.web3().eth.getTransactionReceipt(txhash, function (err, result) { - if (!err && !result) { - // Try again with a bit of delay + if (err || !result) { + // Try again with a bit of delay if error or if result still null setTimeout(function () { tryTillResponse(txhash, done) }, 500) } else { done(err, {