Fix kademlia bootstrap address ignored (#1038)
This commit is contained in:
parent
b1b8f66462
commit
de5f592e90
@ -81,8 +81,7 @@ var (
|
||||
)
|
||||
|
||||
const (
|
||||
defaultServerAddr = ":28967"
|
||||
defaultSatteliteAddr = "127.0.0.1:7778"
|
||||
defaultServerAddr = ":28967"
|
||||
)
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user