Commit 04f623ea authored by yann300's avatar yann300

uncomment

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