Unverified Commit c6c559e0 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #527 from ethereum/yann300-patch-12

Make sure the address is checksumed
parents e6cdc454 008a557f
......@@ -174,6 +174,7 @@ web3VmProvider.prototype.pushTrace = function (self, data) {
this.lastProcessedStorageTxHash[this.processingAddress] = this.processingHash
} else {
this.processingAddress = uiutil.normalizeHexAddress(step.stack[step.stack.length - 2])
this.processingAddress = ethutil.toChecksumAddress(this.processingAddress)
if (!self.storageCache[self.processingHash][this.processingAddress]) {
const account = ethutil.toBuffer(this.processingAddress)
self.vm.stateManager.dumpStorage(account, function (storage) {
......
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