fix: chat example in light mode

This commit is contained in:
kaichaosun 2024-03-28 18:13:35 +08:00
parent 9eed01301c
commit bcc03c2ce9
1 changed files with 3 additions and 0 deletions

View File

@ -68,6 +68,9 @@ func execute(options Options) {
if options.Filter.Enable {
opts = append(opts, node.WithWakuFilterLightNode())
}
if options.LightPush.Enable {
opts = append(opts, node.WithClusterID(uint16(16)))
}
ctx, cancel := context.WithCancel(context.Background())
defer cancel()