remove unneded debug method

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent a0047f7568
commit 6f51324d8f
  1. 9
      src/app/debugger/debugger.js
  2. 2
      src/app/debugger/debuggerUI.js

@ -96,13 +96,4 @@ Debugger.prototype.registerAndHighlightCodeItem = function (index) {
}
}
/**
* Start debugging using Remix
*
* @param {String} txHash - hash of the transaction
*/
Debugger.prototype.debug = function (txHash, cb) {
this.debugger.web3.eth.getTransaction(txHash, cb)
}
module.exports = Debugger

@ -150,7 +150,7 @@ class DebuggerUI {
debug (txHash) {
const self = this
this.transactionDebugger.debug(txHash, (error, tx) => {
this.transactionDebugger.debugger.web3.eth.getTransaction(txHash, (error, tx) => {
if (error) {
return console.error("coudn't get txHash: " + error)
}

Loading…
Cancel
Save