Merge pull request #137 from ethereum/fixTxHash

Fix tx hash (VM mode)
pull/7/head
chriseth 8 years ago committed by GitHub
commit 75fea18799
  1. 2
      src/web3Provider/web3VmProvider.js

@ -43,7 +43,7 @@ web3VmProvider.prototype.releaseCurrentHash = function () {
web3VmProvider.prototype.txWillProcess = function (self, data) { web3VmProvider.prototype.txWillProcess = function (self, data) {
self.incr++ self.incr++
self.processingHash = this.web3.sha3([data.r, data.s, data.v, self.incr].join('')) self.processingHash = util.hexConvert(data.hash())
self.vmTraces[self.processingHash] = { self.vmTraces[self.processingHash] = {
gas: '0x0', gas: '0x0',
return: '0x0', return: '0x0',

Loading…
Cancel
Save