Fixed validators voting power value calculation

This commit is contained in:
Sherzod Mutalov 2022-03-20 13:38:23 +05:00
parent 405cb90667
commit 2fc3031f84

View File

@ -327,6 +327,9 @@ export default {
},
},
created() {
this.$http.getStakingPool().then(pool => {
this.stakingPool = pool.bondedToken
})
this.getValidatorListByHeight()
this.$http.getStakingParameters().then(res => {
this.stakingParameters = res
@ -378,7 +381,6 @@ export default {
identities.push(identity)
}
}
this.stakingPool = total
if (total > 100) {
this.getValidatorListByHeight(100)
}