From 815e611c682e61d5b16796dbd124172eebb3970b Mon Sep 17 00:00:00 2001 From: tycho garen Date: Thu, 30 Jun 2022 19:51:07 -0400 Subject: [PATCH] ugg --- node/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.go b/node/node.go index bea42b338..31a248e5b 100644 --- a/node/node.go +++ b/node/node.go @@ -222,7 +222,7 @@ func makeNode(cfg *config.Config, } // Determine whether we should attempt state sync. - stateSync := cfg.StateSync.Enable && !onlyValidatorIsUs(state, pubKey) + stateSync := !onlyValidatorIsUs(state, pubKey) if stateSync && state.LastBlockHeight > 0 { logger.Info("Found local state with non-zero height, skipping state sync") stateSync = false