From bcc03c2ce9356861df31d5f2daf7f850975d83ac Mon Sep 17 00:00:00 2001 From: kaichaosun Date: Thu, 28 Mar 2024 18:13:35 +0800 Subject: [PATCH] fix: chat example in light mode --- examples/chat2/exec.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/chat2/exec.go b/examples/chat2/exec.go index 266b0315..a5866a78 100644 --- a/examples/chat2/exec.go +++ b/examples/chat2/exec.go @@ -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()