aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-05-24 20:01:54 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-05-24 22:12:07 +0800
commit1afaea4bfede9e42496bdf5346b95045f779a4d4 (patch)
tree0b5ffbe5ebceacc340ccf763edd7c41d33e7af76
parent3b8915e387fd22a7cb8fde0da010d8f7bbf03bf1 (diff)
downloaddexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.tar
dexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.tar.gz
dexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.tar.bz2
dexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.tar.lz
dexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.tar.xz
dexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.tar.zst
dexon-1afaea4bfede9e42496bdf5346b95045f779a4d4.zip
cmd/faucet: fix a few typos
-rw-r--r--cmd/faucet/faucet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go
index f672433ee..c06c4365b 100644
--- a/cmd/faucet/faucet.go
+++ b/cmd/faucet/faucet.go
@@ -102,7 +102,7 @@ func main() {
if amount == 1 {
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)))
periods[i] = fmt.Sprintf("%d mins", period)
if period%60 == 0 {