From 543740c1421a7822f07d47f3651add63c0d0d7d8 Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Sat, 18 Nov 2017 17:57:43 -0300 Subject: [PATCH] Default to JavaScript VM even with injected Web3 --- src/execution-context.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/execution-context.js b/src/execution-context.js index 006509daba..b298be33f0 100644 --- a/src/execution-context.js +++ b/src/execution-context.js @@ -80,7 +80,7 @@ web3VM.setVM(vm) function ExecutionContext () { var self = this this.event = new EventManager() - var executionContext = injectedProvider ? 'injected' : 'vm' + var executionContext = 'vm' this.getProvider = function () { return executionContext