From b3bb79e26415796e4284768b4505007d50a948e3 Mon Sep 17 00:00:00 2001 From: nujabes403 Date: Tue, 16 Apr 2019 14:51:31 +0900 Subject: [PATCH] Remove duplicated function declaration 'Ethdebugger.prototype.debug' --- remix-debug/src/Ethdebugger.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/remix-debug/src/Ethdebugger.js b/remix-debug/src/Ethdebugger.js index 7545bebebb..157cc10e1b 100644 --- a/remix-debug/src/Ethdebugger.js +++ b/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()