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

'this' reference fixed in remix-lib
pull/711/head
yann300 4 years ago committed by GitHub
commit 3225071a4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libs/remix-lib/src/web3Provider/web3VmProvider.ts

@ -206,7 +206,7 @@ export class Web3VmProvider {
this.processingAddress = toChecksumAddress(this.processingAddress)
if (!this.storageCache[this.processingHash][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.lastProcessedStorageTxHash[this.processingAddress] = this.processingHash
})

Loading…
Cancel
Save