Commit f24570dd authored by Ben Wilson's avatar Ben Wilson

Fixed context cancel

parent 82f96927
...@@ -82,7 +82,7 @@ func getCTCTotalElements(address string, client *ethclient.Client) { ...@@ -82,7 +82,7 @@ func getCTCTotalElements(address string, client *ethclient.Client) {
ctcTotalElements.WithLabelValues( ctcTotalElements.WithLabelValues(
"latest").Set(totalElementsFloat) "latest").Set(totalElementsFloat)
log.Info("ctc updated", "ctcTotalElements", totalElementsFloat) log.Info("ctc updated", "ctcTotalElements", totalElementsFloat)
ctx.Done() cancel()
<-ticker.C <-ticker.C
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment