retrieve log message from vm

pull/1/head
yann300 7 years ago
parent 51f9188165
commit 802d5e7322
  1. 1
      src/app/execution/txRunner.js

@ -114,6 +114,7 @@ TxRunner.prototype.execute = function (args, callback) {
if (args.useCall) { if (args.useCall) {
self.vm.stateManager.revert(function () {}) self.vm.stateManager.revert(function () {})
} }
err = err ? err.message : err
callback(err, { callback(err, {
result: result, result: result,
transactionHash: ethJSUtil.bufferToHex(new Buffer(tx.hash())) transactionHash: ethJSUtil.bufferToHex(new Buffer(tx.hash()))

Loading…
Cancel
Save