@ -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)