forked from LaconicNetwork/cosmos-explorer
Debug CI
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ export default {
|
||||
tx.setHash(txs[i])
|
||||
array.push(tx)
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
// catch errors
|
||||
}
|
||||
}
|
||||
if (array.length > 0) this.txs = array
|
||||
|
||||
@@ -265,7 +265,7 @@ export default {
|
||||
|
||||
this.$http.getGovernance(pid).then(p => {
|
||||
if (p.status === 2) {
|
||||
this.$http.getGovernanceTally(pid, 0).then(t => p.updateTally(t)).catch(e => console.error('failed on update voting tally:', e))
|
||||
this.$http.getGovernanceTally(pid, 0).then(t => p.updateTally(t))
|
||||
}
|
||||
this.proposal = p
|
||||
})
|
||||
|
||||
@@ -388,7 +388,6 @@ export default {
|
||||
},
|
||||
fetch_latest() {
|
||||
this.$http.getLatestBlock().then(res => {
|
||||
console.log('fetched: ', res.block.last_commit.height)
|
||||
const sigs = res.block.last_commit.signatures.find(s => s.validator_address === this.hexAddress)
|
||||
const block = this.blocks.find(b => b[1] === res.block.last_commit.height)
|
||||
if (typeof block === 'undefined') { // mei
|
||||
|
||||
Reference in New Issue
Block a user