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
commit eaa77918ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
}