this reference fixed in remix-lib

pull/5370/head
aniket-engg 4 years ago
parent 147fdb3e37
commit 827fb9813f
  1. 2
      libs/remix-lib/src/web3Provider/web3VmProvider.ts

@ -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
}) })

Loading…
Cancel
Save