mailserver-canary: Disable fleet specification
This commit is contained in:
parent
4219d56909
commit
9587d030a6
|
@ -192,7 +192,7 @@ func makeNodeConfig() (*params.NodeConfig, error) {
|
|||
return nil, err
|
||||
}
|
||||
|
||||
nodeConfig, err := params.NewNodeConfig(path.Join(workDir, ".ethereum"), "", params.FleetBeta, uint64(params.RopstenNetworkID))
|
||||
nodeConfig, err := params.NewNodeConfig(path.Join(workDir, ".ethereum"), "", params.FleetUndefined, uint64(params.RopstenNetworkID))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
@ -4,8 +4,9 @@ import "errors"
|
|||
|
||||
// Define available fleets.
|
||||
const (
|
||||
FleetBeta = "eth.beta"
|
||||
FleetStaging = "eth.staging"
|
||||
FleetUndefined = ""
|
||||
FleetBeta = "eth.beta"
|
||||
FleetStaging = "eth.staging"
|
||||
)
|
||||
|
||||
type cluster struct {
|
||||
|
|
|
@ -376,7 +376,7 @@ func NewNodeConfig(dataDir, clstrCfgFile, fleet string, networkID uint64) (*Node
|
|||
LogToStderr: LogToStderr,
|
||||
ClusterConfigFile: clstrCfgFile,
|
||||
ClusterConfig: &ClusterConfig{
|
||||
Enabled: true,
|
||||
Enabled: fleet != FleetUndefined,
|
||||
Fleet: fleet,
|
||||
StaticNodes: []string{},
|
||||
BootNodes: []string{},
|
||||
|
|
Loading…
Reference in New Issue