chore: fix lightclient example (#1039)

This commit is contained in:
Prem Chaitanya Prathi 2024-03-04 10:37:58 +05:30 committed by GitHub
parent 0ba0f1fe26
commit d4bda1255c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -41,7 +41,7 @@ var ClusterID = altsrc.NewUintFlag(&cli.UintFlag{
}) })
var Shard = altsrc.NewUintFlag(&cli.UintFlag{ var Shard = altsrc.NewUintFlag(&cli.UintFlag{
Name: "shard-type", Name: "shard",
Value: 0, Value: 0,
Usage: "shard that the node is interested in publishing/receiving from.", Usage: "shard that the node is interested in publishing/receiving from.",
Destination: &shard, Destination: &shard,
@ -115,7 +115,6 @@ func Execute() error {
node.WithHostAddress(hostAddr), node.WithHostAddress(hostAddr),
node.WithWakuFilterLightNode(), node.WithWakuFilterLightNode(),
node.WithClusterID(uint16(clusterID)), node.WithClusterID(uint16(clusterID)),
node.WithLightPush(),
//node.WithLogLevel(zapcore.DebugLevel), //node.WithLogLevel(zapcore.DebugLevel),
) )
if err != nil { if err != nil {