mirror of https://github.com/status-im/go-waku.git
chore: fix lightclient example (#1039)
This commit is contained in:
parent
0ba0f1fe26
commit
d4bda1255c
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue