Merge pull request #333 from ethereum/fixVMProvider

Remove need to call releaseCurrentHash
pull/1/head
chriseth 8 years ago committed by GitHub
commit 40bc8f6070
  1. 3
      src/universal-dapp.js

@ -834,13 +834,12 @@ 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(function () {})
}
cb(err, {
result: result,
transactionHash: transactionHash
transactionHash: ethJSUtil.bufferToHex(new Buffer(tx.hash()))
})
})
} catch (e) {

Loading…
Cancel
Save