Commit 802d5e73 authored by yann300's avatar yann300

retrieve log message from vm

parent 51f91881
...@@ -114,6 +114,7 @@ TxRunner.prototype.execute = function (args, callback) { ...@@ -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()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment