fix debug button

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent 35d85dc382
commit b37ebe77b5
  1. 2
      src/app/debugger/debugger.js

@ -98,8 +98,10 @@ function Debugger (container, sourceHighlighter, localRegistry) {
*/ */
Debugger.prototype.debug = function (txHash) { Debugger.prototype.debug = function (txHash) {
var self = this var self = this
this.debugger.web3.eth.getTransaction(txHash, function (error, tx) { this.debugger.web3.eth.getTransaction(txHash, function (error, tx) {
if (!error) { if (!error) {
self.debugger_ui.txBrowser.event.trigger('newTraceRequested', [undefined, undefined, tx])
self.debugger.debug(tx) self.debugger.debug(tx)
} }
}) })

Loading…
Cancel
Save