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

Remove duplicated function declaration 'Ethdebugger.prototype.debug'
pull/7/head
yann300 6 years ago committed by GitHub
commit d05ce19d9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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