chore: fix linter error
This commit is contained in:
parent
9510ad0f5d
commit
f622265679
|
@ -330,7 +330,7 @@ func (b *StatusNode) wakuV2Service(nodeConfig *params.NodeConfig, telemetryServe
|
|||
DefaultShardPubsubTopic: shard.DefaultShardPubsubTopic(),
|
||||
UseShardAsDefaultTopic: nodeConfig.WakuV2Config.UseShardAsDefaultTopic,
|
||||
TelemetryServerURL: telemetryServerURL,
|
||||
ClusterId: nodeConfig.ClusterConfig.ClusterID,
|
||||
ClusterID: nodeConfig.ClusterConfig.ClusterID,
|
||||
}
|
||||
|
||||
if nodeConfig.WakuV2Config.MaxMessageSize > 0 {
|
||||
|
|
|
@ -48,7 +48,7 @@ type Config struct {
|
|||
EnableFilterFullNode bool `toml:",omitempty"`
|
||||
DefaultShardPubsubTopic string `toml:",omitempty"`
|
||||
UseShardAsDefaultTopic bool `toml:",omitempty"`
|
||||
ClusterId uint16 `toml:",omitempty"`
|
||||
ClusterID uint16 `toml:",omitempty"`
|
||||
}
|
||||
|
||||
var DefaultConfig = Config{
|
||||
|
|
|
@ -285,7 +285,7 @@ func New(nodeKey string, fleet string, cfg *Config, logger *zap.Logger, appDB *s
|
|||
node.WithKeepAlive(time.Duration(cfg.KeepAliveInterval) * time.Second),
|
||||
node.WithMaxPeerConnections(cfg.DiscoveryLimit),
|
||||
node.WithLogger(logger),
|
||||
node.WithClusterID(cfg.ClusterId),
|
||||
node.WithClusterID(cfg.ClusterID),
|
||||
}
|
||||
|
||||
if cfg.EnableDiscV5 {
|
||||
|
|
Loading…
Reference in New Issue