diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index 29a21af149..02b6a428af 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -17,7 +17,7 @@ var RecorderUI = require('./runTab/recorder.js') class RunTab { - constructor (opts, localRegistry) { + constructor () { var self = this self.event = new EventManager() self._view = {} @@ -27,7 +27,7 @@ class RunTab { another environment. e.g Transactions created in Javascript VM can be replayed in the Injected Web3.` } self._components = {} - self._components.registry = localRegistry || globalRegistry + self._components.registry = globalRegistry self._components.transactionContextAPI = { getAddress: (cb) => { cb(null, $('#txorigin').val())