diff --git a/src/app/execution/txLogger.js b/src/app/execution/txLogger.js index fc48a5561c..978041c7af 100644 --- a/src/app/execution/txLogger.js +++ b/src/app/execution/txLogger.js @@ -15,10 +15,10 @@ class TxLogger { constructor (opts = {}) { this.event = new EventManager() this.opts = opts - opts.api.editorpanel.registerType('knownTransaction', (data) => { + opts.api.editorpanel.registerLogType('knownTransaction', (data) => { return renderKnownTransaction(this, data) }) - opts.api.editorpanel.registerType('unknownTransaction', (data) => { + opts.api.editorpanel.registerLogType('unknownTransaction', (data) => { return renderUnknownTransaction(this, data) }) opts.events.txListener.register('newTransaction', (tx) => { diff --git a/src/app/panels/editor-panel.js b/src/app/panels/editor-panel.js index 366d0a66af..6026e5e4d0 100644 --- a/src/app/panels/editor-panel.js +++ b/src/app/panels/editor-panel.js @@ -208,7 +208,7 @@ class EditorPanel { self._adjustLayout('top', self.data._layout.top.offset) return self._view.el } - registerType (typename, template) { + registerLogType (typename, template) { var self = this self._components.terminal.registerType(typename, template) }