Fixed validators voting power value calculation
This commit is contained in:
parent
405cb90667
commit
2fc3031f84
@ -327,6 +327,9 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
|
this.$http.getStakingPool().then(pool => {
|
||||||
|
this.stakingPool = pool.bondedToken
|
||||||
|
})
|
||||||
this.getValidatorListByHeight()
|
this.getValidatorListByHeight()
|
||||||
this.$http.getStakingParameters().then(res => {
|
this.$http.getStakingParameters().then(res => {
|
||||||
this.stakingParameters = res
|
this.stakingParameters = res
|
||||||
@ -378,7 +381,6 @@ export default {
|
|||||||
identities.push(identity)
|
identities.push(identity)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.stakingPool = total
|
|
||||||
if (total > 100) {
|
if (total > 100) {
|
||||||
this.getValidatorListByHeight(100)
|
this.getValidatorListByHeight(100)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user