From 288cb310402f396ee24a003af9a3bd05a7df23c8 Mon Sep 17 00:00:00 2001 From: tycho garen Date: Thu, 30 Jun 2022 12:53:56 -0400 Subject: [PATCH] blocksync: log on disabled override --- node/setup.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/node/setup.go b/node/setup.go index e94e85c78..78aa669d4 100644 --- a/node/setup.go +++ b/node/setup.go @@ -338,6 +338,10 @@ func createBlockchainReactor( metrics *consensus.Metrics, ) (*p2p.ReactorShim, service.Service, error) { + if !cfg.BlockSync.Enable { + logger.Error("Blocksync is disabled in the config, but this is not a supported configuration, overriding") + } + logger = logger.With("module", "blockchain") switch cfg.BlockSync.Version {