chore(waku2): revert disable light client on status.prod (#3606)
This commit is contained in:
parent
860abca690
commit
4a50e17d57
|
@ -219,11 +219,6 @@ func New(nodeKey string, fleet string, cfg *Config, logger *zap.Logger, appDB *s
|
||||||
return waku.node.FilterLightnode().IsSubscriptionAlive(context.Background(), sub)
|
return waku.node.FilterLightnode().IsSubscriptionAlive(context.Background(), sub)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disabling light client mode if using status.prod or undefined
|
|
||||||
if fleet == "status.prod" || fleet == "" {
|
|
||||||
cfg.LightClient = false
|
|
||||||
}
|
|
||||||
|
|
||||||
waku.settings = settings{
|
waku.settings = settings{
|
||||||
MaxMsgSize: cfg.MaxMessageSize,
|
MaxMsgSize: cfg.MaxMessageSize,
|
||||||
LightClient: cfg.LightClient,
|
LightClient: cfg.LightClient,
|
||||||
|
|
Loading…
Reference in New Issue