cmd/faucet: fix a few typos

parent 3b8915e3
...@@ -102,7 +102,7 @@ func main() { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment