Fix useCall in VM mode

pull/1/head
Alex Beregszaszi 8 years ago
parent 593e47f10a
commit de773c44a2
  1. 2
      src/universal-dapp.js

@ -836,7 +836,7 @@ UniversalDApp.prototype.rawRunTx = function (args, cb) {
self.vm.runTx({block: block, tx: tx, skipBalance: true, skipNonce: true}, function (err, result) {
var transactionHash = self.txdebugger.web3().releaseCurrentHash() // used to keep track of the transaction
if (args.useCall) {
self.vm.stateManager.revert()
self.vm.stateManager.revert(function () {})
}
cb(err, {
result: result,

Loading…
Cancel
Save