Skip to content

Commit

Permalink
chore: fixed stakedRatio calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed Dec 13, 2024
1 parent f996d6b commit 0e6d9ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/[version]/distribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineCachedEventHandler(async () => {
)
.get()

const staked = (result?.totalStaked ?? 0) * 1e5
const staked = (result?.totalStaked ?? 0) / 1e5

const { data: latestBlock, error: errorCurrentEpoch } = await getRpcClient().blockchain.getLatestBlock()
if (errorCurrentEpoch)
Expand Down

0 comments on commit 0e6d9ad

Please sign in to comment.