Default to JavaScript VM even with injected Web3

pull/1/head
Federico Bond 7 years ago
parent a2d85a9cb1
commit 543740c142
  1. 2
      src/execution-context.js

@ -80,7 +80,7 @@ web3VM.setVM(vm)
function ExecutionContext () { function ExecutionContext () {
var self = this var self = this
this.event = new EventManager() this.event = new EventManager()
var executionContext = injectedProvider ? 'injected' : 'vm' var executionContext = 'vm'
this.getProvider = function () { this.getProvider = function () {
return executionContext return executionContext

Loading…
Cancel
Save