Merge pull request #93 from shmutalov/master

Fixed validators voting power value calculation
This commit is contained in:
ping
2022-03-20 18:10:23 +08:00
committed by GitHub
+3 -1
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)
}