From 05740e0f64575736ac5c0c7a6de75c43684008ad Mon Sep 17 00:00:00 2001 From: vyzo Date: Mon, 7 Sep 2020 10:03:47 +0300 Subject: [PATCH] silence linter for unnecessary conversion --- node/modules/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/modules/services.go b/node/modules/services.go index a90ef9ff9..a98613932 100644 --- a/node/modules/services.go +++ b/node/modules/services.go @@ -77,7 +77,7 @@ func RunBlockSync(h host.Host, svc *blocksync.BlockSyncService) { } func waitForSync(stmgr *stmgr.StateManager, blocks int, subscribe func()) { - nearsync := uint64(blocks) * uint64(build.BlockDelaySecs) * uint64(time.Second) + nearsync := uint64(blocks) * uint64(build.BlockDelaySecs) * uint64(time.Second) //nolint // early check, are we synced at start up? ts := stmgr.ChainStore().GetHeaviestTipSet()