Remove duplicated function declaration 'Ethdebugger.prototype.debug'

pull/5370/head
nujabes403 6 years ago
parent 64ea8abbd9
commit b691e62ee8
  1. 9
      remix-debug/src/Ethdebugger.js

@ -160,15 +160,6 @@ Ethdebugger.prototype.updateWeb3 = function (web3) {
this.setManagers()
}
Ethdebugger.prototype.debug = function (tx) {
this.setCompilationResult(this.opts.compilationResult())
if (tx instanceof Object) {
this.txBrowser.load(tx.hash)
} else if (tx instanceof String) {
this.txBrowser.load(tx)
}
}
Ethdebugger.prototype.unLoad = function () {
this.traceManager.init()
this.codeManager.clear()

Loading…
Cancel
Save