From f6f5405a2c8100c0b20606cc92a14fb3d46bf4c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Mon, 7 Sep 2020 18:21:45 +0200 Subject: [PATCH] Fix lint --- chain/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/sync.go b/chain/sync.go index cc29e355021..0bcb290f8db 100644 --- a/chain/sync.go +++ b/chain/sync.go @@ -187,7 +187,7 @@ func (syncer *Syncer) runMetricsTricker(tickerCtx context.Context) { sinceGenesis := build.Clock.Now().Sub(genesisTime) expectedHeight := int64(sinceGenesis.Seconds()) / int64(build.BlockDelaySecs) - stats.Record(tickerCtx, metrics.ChainNodeHeightExpected.M(int64(expectedHeight))) + stats.Record(tickerCtx, metrics.ChainNodeHeightExpected.M(expectedHeight)) case <-tickerCtx.Done(): return }