refactor: remove commented-out code for interface configuration in CreateDefaultConfig function
This commit is contained in:
@@ -211,7 +211,6 @@ func CreateDefaultConfig(path string) error {
|
|||||||
cfg := DefaultConfig()
|
cfg := DefaultConfig()
|
||||||
cfg.ConfigPath = path
|
cfg.ConfigPath = path
|
||||||
|
|
||||||
// Add Auto Interface
|
|
||||||
cfg.Interfaces["Auto Discovery"] = &common.InterfaceConfig{
|
cfg.Interfaces["Auto Discovery"] = &common.InterfaceConfig{
|
||||||
Type: "AutoInterface",
|
Type: "AutoInterface",
|
||||||
Enabled: true,
|
Enabled: true,
|
||||||
@@ -221,7 +220,6 @@ func CreateDefaultConfig(path string) error {
|
|||||||
DataPort: 42671,
|
DataPort: 42671,
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add default interfaces
|
|
||||||
cfg.Interfaces["Go-RNS-Testnet"] = &common.InterfaceConfig{
|
cfg.Interfaces["Go-RNS-Testnet"] = &common.InterfaceConfig{
|
||||||
Type: "TCPClientInterface",
|
Type: "TCPClientInterface",
|
||||||
Enabled: true,
|
Enabled: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user