Fix kademlia bootstrap address ignored (#1038)

This commit is contained in:
Michal Niewrzal 2019-01-14 16:15:26 +01:00 committed by Egon Elbre
parent b1b8f66462
commit de5f592e90

View File

@ -82,7 +82,6 @@ var (
const (
defaultServerAddr = ":28967"
defaultSatteliteAddr = "127.0.0.1:7778"
)
func init() {
@ -172,7 +171,6 @@ func cmdSetup(cmd *cobra.Command, args []string) (err error) {
"identity.key-path": setupCfg.Identity.KeyPath,
"identity.server.address": defaultServerAddr,
"storage.path": filepath.Join(setupDir, "storage"),
"kademlia.bootstrap-addr": defaultSatteliteAddr,
}
return process.SaveConfig(cmd.Flags(), filepath.Join(setupDir, "config.yaml"), overrides)