Commit df3e3340 authored by Iuri Matias's avatar Iuri Matias Committed by yann300

fix debug button

parent 93a3e8a9
......@@ -98,8 +98,10 @@ function Debugger (container, sourceHighlighter, localRegistry) {
*/
Debugger.prototype.debug = function (txHash) {
var self = this
this.debugger.web3.eth.getTransaction(txHash, function (error, tx) {
if (!error) {
self.debugger_ui.txBrowser.event.trigger('newTraceRequested', [undefined, undefined, tx])
self.debugger.debug(tx)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment