From a2dae608917a1790e49db7b6ab44d70dd047771f Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 7 Dec 2016 09:59:21 +0100 Subject: [PATCH] fix #319 --- src/app/txRunner.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/app/txRunner.js b/src/app/txRunner.js index 7b2aedeab3..d08beb55eb 100644 --- a/src/app/txRunner.js +++ b/src/app/txRunner.js @@ -58,7 +58,12 @@ TxRunner.prototype.execute = function () { } if (args.useCall) { tx.gas = gasLimit - self.web3.eth.call(tx, callback) + self.web3.eth.call(tx, function (error, result) { + callback(error, { + result: result, + transactionHash: result.transactionHash + }) + }) } else { self.web3.eth.estimateGas(tx, function (err, resp) { if (err) {