chore(waku2): revert disable light client on status.prod (#3606)

This commit is contained in:
Igor Sirotin 2023-06-15 19:44:29 +03:00 committed by GitHub
parent 860abca690
commit 4a50e17d57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

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