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,
onPeerStats: onPeerStats,
}
enablePeerExchange := cfg.PeerExchange
enabledDiscv5 := cfg.EnableDiscV5
enablePeerExchange := false
enabledDiscv5 := false
if cfg.LightClient {
enablePeerExchange = true
enabledDiscv5 = false