From 2fc3031f84dbee5a13ef79dde3daa7dc402e2fbc Mon Sep 17 00:00:00 2001 From: Sherzod Mutalov Date: Sun, 20 Mar 2022 13:38:23 +0500 Subject: [PATCH] Fixed validators voting power value calculation --- src/views/Staking.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/Staking.vue b/src/views/Staking.vue index a644a2b6..ac425ed8 100644 --- a/src/views/Staking.vue +++ b/src/views/Staking.vue @@ -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) }