mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-17 04:36:11 +00:00
(cherry picked from commit 7cdf560173)
Co-authored-by: M. J. Fromberger <fromberger@interchain.io>
This commit is contained in:
co-authored by
M. J. Fromberger
parent
56e010ba6b
commit
e8ebea2020
@@ -323,12 +323,12 @@ func MakeConfig(node *e2e.Node) (*config.Config, error) {
|
||||
}
|
||||
}
|
||||
|
||||
cfg.P2P.Seeds = ""
|
||||
cfg.P2P.Seeds = "" //nolint: staticcheck
|
||||
for _, seed := range node.Seeds {
|
||||
if len(cfg.P2P.Seeds) > 0 {
|
||||
cfg.P2P.Seeds += ","
|
||||
if len(cfg.P2P.Seeds) > 0 { //nolint: staticcheck
|
||||
cfg.P2P.Seeds += "," //nolint: staticcheck
|
||||
}
|
||||
cfg.P2P.Seeds += seed.AddressP2P(true)
|
||||
cfg.P2P.Seeds += seed.AddressP2P(true) //nolint: staticcheck
|
||||
}
|
||||
|
||||
cfg.P2P.PersistentPeers = ""
|
||||
|
||||
Reference in New Issue
Block a user