this reference fixed in remix-lib

pull/719/head
aniket-engg 4 years ago
parent 6b8926da38
commit d9c933661a
  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