mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 19:46:39 +00:00
cmd/faucet: fix a few typos
This commit is contained in:
parent
3b8915e387
commit
1afaea4bfe
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ func main() {
|
||||||
if amount == 1 {
|
if amount == 1 {
|
||||||
amounts[i] = strings.TrimSuffix(amounts[i], "s")
|
amounts[i] = strings.TrimSuffix(amounts[i], "s")
|
||||||
}
|
}
|
||||||
// Calcualte the period for th enext tier and format it
|
// Calculate the period for the next tier and format it
|
||||||
period := *minutesFlag * int(math.Pow(3, float64(i)))
|
period := *minutesFlag * int(math.Pow(3, float64(i)))
|
||||||
periods[i] = fmt.Sprintf("%d mins", period)
|
periods[i] = fmt.Sprintf("%d mins", period)
|
||||||
if period%60 == 0 {
|
if period%60 == 0 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue