remove local variable not used anywhere

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent 0fd02d6065
commit c949aec2cf
  1. 8
      src/app/debugger/debuggerUI/TxBrowser.js

@ -88,7 +88,6 @@ TxBrowser.prototype.submit = function (tx) {
}
TxBrowser.prototype.update = function (error, tx) {
var info = {}
if (error) {
this.view.querySelector('#error').innerHTML = error
return
@ -98,15 +97,8 @@ TxBrowser.prototype.update = function (error, tx) {
if (!tx.to) {
tx.to = traceHelper.contractCreationToken('0')
}
info.from = tx.from
info.to = tx.to
info.hash = tx.hash
this.event.trigger('newTraceRequested', [this.blockNumber, this.txNumber, tx])
} else {
var mes = '<not found>'
info.from = mes
info.to = mes
info.hash = mes
this.view.querySelector('#error').innerHTML = 'Cannot find transaction with reference. Block number: ' + this.blockNumber + '. Transaction index/hash: ' + this.txNumber
}
}

Loading…
Cancel
Save