diff --git a/src/app/execution/txRunner.js b/src/app/execution/txRunner.js index 9263de3cd8..0975dfc8c4 100644 --- a/src/app/execution/txRunner.js +++ b/src/app/execution/txRunner.js @@ -145,8 +145,10 @@ TxRunner.prototype.runInNode = function (from, to, data, value, gasLimit, useCal return } - confirmCb(network, tx, gasEstimation, callback, (gasPrice) => { + confirmCb(network, tx, gasEstimation, (gasPrice) => { return executeTx(tx, gasPrice, self._api, callback) + }, (error) => { + callback(error) }) }) })