chore: fix lint errors

This commit is contained in:
Prem Chaitanya Prathi 2024-02-13 11:04:16 +05:30 committed by frank
parent cbec0dc726
commit 16b3e99205
1 changed files with 2 additions and 2 deletions

View File

@ -218,8 +218,8 @@ func New(nodeKey string, fleet string, cfg *Config, logger *zap.Logger, appDB *s
onHistoricMessagesRequestFailed: onHistoricMessagesRequestFailed, onHistoricMessagesRequestFailed: onHistoricMessagesRequestFailed,
onPeerStats: onPeerStats, onPeerStats: onPeerStats,
} }
enablePeerExchange := cfg.PeerExchange enablePeerExchange := false
enabledDiscv5 := cfg.EnableDiscV5 enabledDiscv5 := false
if cfg.LightClient { if cfg.LightClient {
enablePeerExchange = true enablePeerExchange = true
enabledDiscv5 = false enabledDiscv5 = false