Skip to content

Commit 4ee11b0

Browse files
authored
cmd/bootnode,internal/debug: fix some comments (#21623)
1 parent 901471f commit 4ee11b0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎cmd/bootnode/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func main() {
4444
natdesc = flag.String("nat", "none", "port mapping mechanism (any|none|upnp|pmp|extip:<IP>)")
4545
netrestrict = flag.String("netrestrict", "", "restrict network communication to the given IP networks (CIDR masks)")
4646
runv5 = flag.Bool("v5", false, "run a v5 topic discovery bootnode")
47-
verbosity = flag.Int("verbosity", int(log.LvlInfo), "log verbosity (0-9)")
47+
verbosity = flag.Int("verbosity", int(log.LvlInfo), "log verbosity (0-5)")
4848
vmodule = flag.String("vmodule", "", "log verbosity pattern")
4949

5050
nodeKey *ecdsa.PrivateKey

‎internal/debug/api.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ func (*HandlerT) Stacks() string {
196196
return buf.String()
197197
}
198198

199-
// FreeOSMemory returns unused memory to the OS.
199+
// FreeOSMemory forces a garbage collection.
200200
func (*HandlerT) FreeOSMemory() {
201201
debug.FreeOSMemory()
202202
}

0 commit comments

Comments
 (0)