Merge pull request #1158 from nujabes403/remove-unnecessary-duplicated-function

Remove duplicated function declaration 'Ethdebugger.prototype.debug'
pull/5370/head
yann300 6 years ago committed by GitHub
commit b3c562851e
  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