From 66ab3543e2da9a1d3f9cf2b23e2e4a0c3a64e0f1 Mon Sep 17 00:00:00 2001 From: kumavis Date: Mon, 24 Oct 2016 14:44:17 -0700 Subject: [PATCH] hookedVM - update hooked to new vm constructor API --- lib/hooked.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hooked.js b/lib/hooked.js index 2d4cf013c9..dc3882a4d5 100644 --- a/lib/hooked.js +++ b/lib/hooked.js @@ -31,7 +31,7 @@ module.exports.fromWeb3Provider = fromWeb3Provider function createHookedVm (opts, hooks) { var codeStore = new FallbackAsyncStore(hooks.fetchAccountCode.bind(hooks)) - var vm = new VM(null, null, opts) + var vm = new VM(opts) vm.stateManager._lookupStorageTrie = createAccountStorageTrie vm.stateManager.cache._lookupAccount = loadAccount vm.stateManager.getContractCode = codeStore.get.bind(codeStore)