@cryptotaxi247 / kubo / commits / 5a632f701

fix default-net profile not reverting bootstrap config

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Mar 20, 2018 at 16:56 UTC 5a632f70170c0ae46807185add91fb5d17ebf9a1
1 file changed +6
repo/config/profile.go
+6
@@ -86,6 +86,12 @@ Inverse profile of the test profile.`,
86 Transform: func(c *Config) error {
87 c.Addresses = addressesConfig()
88
89 + bootstrapPeers, err := DefaultBootstrapPeers()
90 + if err != nil {
91 + return err
92 + }
93 + c.Bootstrap = appendSingle(c.Bootstrap, BootstrapPeerStrings(bootstrapPeers))
94 +
95 c.Swarm.DisableNatPortMap = false
96 c.Discovery.MDNS.Enabled = true
97 return nil