Merge pull request #14507 from karalabe/faucet-misspell

cmd/faucet: fix a few typos
pull/14494/merge
Péter Szilágyi 8 years ago committed by GitHub
commit 344f25fb3e
  1. 2
      cmd/faucet/faucet.go

@ -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…
Cancel
Save