From d4bda1255caca82bbe9ba70ff8ac04b5e05a6050 Mon Sep 17 00:00:00 2001 From: Prem Chaitanya Prathi Date: Mon, 4 Mar 2024 10:37:58 +0530 Subject: [PATCH] chore: fix lightclient example (#1039) --- examples/basic-light-client/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/basic-light-client/main.go b/examples/basic-light-client/main.go index bf6d760d..18280c4b 100644 --- a/examples/basic-light-client/main.go +++ b/examples/basic-light-client/main.go @@ -41,7 +41,7 @@ var ClusterID = altsrc.NewUintFlag(&cli.UintFlag{ }) var Shard = altsrc.NewUintFlag(&cli.UintFlag{ - Name: "shard-type", + Name: "shard", Value: 0, Usage: "shard that the node is interested in publishing/receiving from.", Destination: &shard, @@ -115,7 +115,6 @@ func Execute() error { node.WithHostAddress(hostAddr), node.WithWakuFilterLightNode(), node.WithClusterID(uint16(clusterID)), - node.WithLightPush(), //node.WithLogLevel(zapcore.DebugLevel), ) if err != nil {