chore: fix lint errors
This commit is contained in:
parent
cbec0dc726
commit
16b3e99205
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue