Unverified Commit 3225071a authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #719 from ethereum/fix/#712

'this' reference fixed in remix-lib
parents 6b8926da d9c93366
...@@ -206,7 +206,7 @@ export class Web3VmProvider { ...@@ -206,7 +206,7 @@ export class Web3VmProvider {
this.processingAddress = toChecksumAddress(this.processingAddress) this.processingAddress = toChecksumAddress(this.processingAddress)
if (!this.storageCache[this.processingHash][this.processingAddress]) { if (!this.storageCache[this.processingHash][this.processingAddress]) {
const account = toBuffer(this.processingAddress) const account = toBuffer(this.processingAddress)
this.vm.stateManager.dumpStorage(account, function (storage) { this.vm.stateManager.dumpStorage(account, (storage) => {
this.storageCache[this.processingHash][this.processingAddress] = storage this.storageCache[this.processingHash][this.processingAddress] = storage
this.lastProcessedStorageTxHash[this.processingAddress] = this.processingHash this.lastProcessedStorageTxHash[this.processingAddress] = this.processingHash
}) })
......
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