From 210e8a02f79b8bf1bc48ec4353851ecffe39cd41 Mon Sep 17 00:00:00 2001 From: tycho garen Date: Tue, 5 Jul 2022 09:39:47 -0400 Subject: [PATCH] disable disabling blocksync --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index 31a248e5b..c752a5c68 100644 --- a/node/node.go +++ b/node/node.go @@ -250,7 +250,7 @@ func makeNode(cfg *config.Config, // Determine whether we should do block sync. This must happen after the handshake, since the // app may modify the validator set, specifying ourself as the only validator. - blockSync := cfg.BlockSync.Enable && !onlyValidatorIsUs(state, pubKey) + blockSync := !onlyValidatorIsUs(state, pubKey) logNodeStartupInfo(state, pubKey, logger, consensusLogger, cfg.Mode)