mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 22:23:11 +00:00
config: complete removal of seed addresses in config (#8654)
This commit is contained in:
@@ -322,14 +322,6 @@ func MakeConfig(node *e2e.Node) (*config.Config, error) {
|
||||
}
|
||||
}
|
||||
|
||||
cfg.P2P.Seeds = "" //nolint: staticcheck
|
||||
for _, seed := range node.Seeds {
|
||||
if len(cfg.P2P.Seeds) > 0 { //nolint: staticcheck
|
||||
cfg.P2P.Seeds += "," //nolint: staticcheck
|
||||
}
|
||||
cfg.P2P.Seeds += seed.AddressP2P(true) //nolint: staticcheck
|
||||
}
|
||||
|
||||
cfg.P2P.PersistentPeers = ""
|
||||
for _, peer := range node.PersistentPeers {
|
||||
if len(cfg.P2P.PersistentPeers) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user