mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-19 06:31:57 +00:00
disable disabling blocksync
This commit is contained in:
+1
-1
@@ -250,7 +250,7 @@ func makeNode(cfg *config.Config,
|
|||||||
|
|
||||||
// Determine whether we should do block sync. This must happen after the handshake, since the
|
// 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.
|
// 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)
|
logNodeStartupInfo(state, pubKey, logger, consensusLogger, cfg.Mode)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user