aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeoLiao <leofantast@gmail.com>2018-07-09 16:38:52 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-09 16:38:52 +0800
commit4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71 (patch)
tree61bf2254b01c67c4b469314ac2b4bc096bffbfe6
parentdbae1dc7b3a3e1ebe1721ee3e324a44ae9a7e2c6 (diff)
downloaddexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.tar
dexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.tar.gz
dexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.tar.bz2
dexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.tar.lz
dexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.tar.xz
dexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.tar.zst
dexon-4dbefc1f2577e46b8fd4a7f670c3319d9e6d7f71.zip
cmd/geth: fixed comment typo (#17140)
-rw-r--r--cmd/geth/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index f4a0ac5df..52308948f 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -202,7 +202,7 @@ func init() {
if err := debug.Setup(ctx); err != nil {
return err
}
- // Cap the cache allowance and tune the garbage colelctor
+ // Cap the cache allowance and tune the garbage collector
var mem gosigar.Mem
if err := mem.Get(); err == nil {
allowance := int(mem.Total / 1024 / 1024 / 3)