fix(spiff-workflow)_: set NoDiscovery=true

To avoid errors like this:
```
NoDiscovery is false, but ClusterConfig.BootNodes is empty
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-05-17 16:13:00 +02:00
parent 9f1c0a27b7
commit 8c940bcfb0
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 2 additions and 0 deletions

View File

@ -277,6 +277,8 @@ func defaultNodeConfig(installationID string) (*params.NodeConfig, error) {
// FIXME: This should be taken from CLI flags.
nodeConfig.HTTPVirtualHosts = []string{"localhost", "wakunode"}
nodeConfig.APIModules = *apiModules
// Disable to avoid errors about empty ClusterConfig.BootNodes.
nodeConfig.NoDiscovery = true
nodeConfig.UpstreamConfig = params.UpstreamRPCConfig{
Enabled: true,