remove unused params

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent 2ff1851496
commit 28c32745fd
  1. 2
      src/app/debugger/debuggerUI/VmDebugger.js
  2. 4
      src/app/debugger/debuggerUI/vmDebugger/CalldataPanel.js

@ -38,7 +38,7 @@ function VmDebugger (_parentUI, _traceManager, _codeManager, _solidityProxy, _ca
self.asmCode.changed([], '', -1)
})
this.calldataPanel = new CalldataPanel(_parentUI, _traceManager)
this.calldataPanel = new CalldataPanel()
_parentUI.event.register('indexChanged', this, function (index) {
if (index < 0) return
if (_parentUI.currentStepIndex !== index) return

@ -2,9 +2,7 @@
var DropdownPanel = require('./DropdownPanel')
var yo = require('yo-yo')
function CalldataPanel (_parentUI, _traceManager) {
this._parentUI = _parentUI
this.traceManager = _traceManager
function CalldataPanel () {
this.basicPanel = new DropdownPanel('Call Data', {json: true})
}

Loading…
Cancel
Save