Added some missing callback cases

pull/1/head
holgerd77 7 years ago
parent 77a74b3a94
commit cdd86a7939
  1. 2
      src/execution-context.js

@ -134,6 +134,7 @@ function ExecutionContext () {
vm.stateManager.checkpoint()
})
self.event.trigger('contextChanged', ['vm'])
cb()
}
if (context === 'injected') {
@ -146,6 +147,7 @@ function ExecutionContext () {
executionContext = context
web3.setProvider(injectedProvider)
self.event.trigger('contextChanged', ['injected'])
cb()
}
}

Loading…
Cancel
Save