Skip to content

Commit

Permalink
Update packages/ui/src/validators/hooks/useStakingStatistics.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Theophile Sandoz <theophile.sandoz@gmail.com>
  • Loading branch information
eshark9312 and thesan committed Jul 19, 2023
1 parent 4f77503 commit 18809bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/validators/hooks/useStakingStatistics.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const useStakingStatistics = () => {
eraDuration: ERA_DURATION,
eraRewardPoints,
now,
idealStaking: new BN(totalIssuance ?? 0).div(new BN(2)),
idealStaking: new BN(totalIssuance ?? 0).divn(2),
currentStaking: new BN(currentStaking ?? 0),
stakingPercentage,
activeValidatorsCount: activeValidators?.length ?? 0,
Expand Down

0 comments on commit 18809bc

Please sign in to comment.