Skip to content

Commit

Permalink
Merge pull request #434 from wighawag/fix_hooked.js
Browse files Browse the repository at this point in the history
fix typo: stateManager._cache
  • Loading branch information
holgerd77 committed Feb 4, 2019
2 parents bbc6dbf + 0f10fcf commit b1e318f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hooked.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function createHookedVm (opts, hooks) {

var vm = new VM(opts)
vm.stateManager._lookupStorageTrie = createAccountStorageTrie
vm.stateManager.cache._lookupAccount = loadAccount
vm.stateManager._cache._lookupAccount = loadAccount
vm.stateManager.getContractCode = codeStore.get.bind(codeStore)
vm.stateManager.setContractCode = codeStore.set.bind(codeStore)

Expand Down

0 comments on commit b1e318f

Please sign in to comment.