silence linter for unnecessary conversion
This commit is contained in:
parent
666dc65b8e
commit
05740e0f64
@ -77,7 +77,7 @@ func RunBlockSync(h host.Host, svc *blocksync.BlockSyncService) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func waitForSync(stmgr *stmgr.StateManager, blocks int, subscribe func()) {
|
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?
|
// early check, are we synced at start up?
|
||||||
ts := stmgr.ChainStore().GetHeaviestTipSet()
|
ts := stmgr.ChainStore().GetHeaviestTipSet()
|
||||||
|
Loading…
Reference in New Issue
Block a user