Commit 04f623ea authored by yann300's avatar yann300

uncomment

parent 26cad893
......@@ -46,7 +46,7 @@ TxBrowser.prototype.submit = function () {
return
}
this.event.trigger('newTxLoading', [this.blockNumber, this.txNumber])
// try {
try {
var self = this
if (this.txNumber.indexOf('0x') !== -1) {
util.web3.eth.getTransaction(this.txNumber, function (error, result) {
......@@ -57,9 +57,9 @@ TxBrowser.prototype.submit = function () {
self.update(error, result)
})
}
// } catch (e) {
// self.update(e.message)
// }
} catch (e) {
self.update(e.message)
}
}
TxBrowser.prototype.update = function (error, 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