diff --git a/src/views/WalletAccountDetail.vue b/src/views/WalletAccountDetail.vue index e778d098..a9257140 100644 --- a/src/views/WalletAccountDetail.vue +++ b/src/views/WalletAccountDetail.vue @@ -143,7 +143,7 @@ Withdraw + /> Withdraw Rewards @@ -514,11 +514,11 @@ export default { tmp1 += Number(e.balance) }) }) - this.redelegations.forEach(x => { - x.entries.forEach(e => { - tmp1 += Number(e.balance) - }) - }) + // this.redelegations.forEach(x => { + // x.entries.forEach(e => { + // tmp1 += Number(e.balance) + // }) + // }) const unbonding = this.formatCurrency(tmp1, stakingDenom) sumCurrency += unbonding sum += tmp1 @@ -620,9 +620,9 @@ export default { this.$http.getStakingDelegations(this.address).then(res => { this.delegations = res.delegation_responses || res }) - this.$http.getStakingRedelegations(this.address).then(res => { - this.redelegations = res.redelegation_responses || res - }) + // this.$http.getStakingRedelegations(this.address).then(res => { + // this.redelegations = res.redelegation_responses || res + // }) this.$http.getStakingUnbonding(this.address).then(res => { this.unbonding = res.unbonding_responses || res })