2
0
mirror of https://github.com/status-im/status-go.git synced 2025-01-10 22:56:40 +00:00

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

@ -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