diff --git a/les/costtracker.go b/les/costtracker.go index 81da045660..0558779bc5 100644 --- a/les/costtracker.go +++ b/les/costtracker.go @@ -269,6 +269,7 @@ func (ct *costTracker) gfLoop() { log.Debug("global cost factor saved", "value", factor) } saveTicker := time.NewTicker(time.Minute * 10) + defer saveTicker.Stop() for { select {