Commit cdd86a79 authored by holgerd77's avatar holgerd77

Added some missing callback cases

parent 77a74b3a
...@@ -134,6 +134,7 @@ function ExecutionContext () { ...@@ -134,6 +134,7 @@ function ExecutionContext () {
vm.stateManager.checkpoint() vm.stateManager.checkpoint()
}) })
self.event.trigger('contextChanged', ['vm']) self.event.trigger('contextChanged', ['vm'])
cb()
} }
if (context === 'injected') { if (context === 'injected') {
...@@ -146,6 +147,7 @@ function ExecutionContext () { ...@@ -146,6 +147,7 @@ function ExecutionContext () {
executionContext = context executionContext = context
web3.setProvider(injectedProvider) web3.setProvider(injectedProvider)
self.event.trigger('contextChanged', ['injected']) self.event.trigger('contextChanged', ['injected'])
cb()
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment