ethereum / ethereum/staking-launchpad

Number of ETH required will be a round number, don't show decimals

Open
#182 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
304
Forks
226
PR merge metrics
No merged PRs in 30d

Description

As the amount of ETH required will always be an integer, it doesn't make sense to always add `.0` after the amount. I think this can be improved by simplying using `toFixed(0)`

https://github.com/ethereum/eth2.0-deposit/blob/1e2ff1a2b74844540a6f7cf8769ee4430ca87cde/src/pages/GenerateKeys/index.tsx#L119

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.