From ace00cd22656add088ed291c3f05e82989907782 Mon Sep 17 00:00:00 2001 From: Ethan Buchman Date: Fri, 21 Dec 2018 17:26:40 -0500 Subject: [PATCH] fix duplicate ip --- cmd/tendermint/commands/testnet.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/tendermint/commands/testnet.go b/cmd/tendermint/commands/testnet.go index a9c98b0e6..c3ef86190 100644 --- a/cmd/tendermint/commands/testnet.go +++ b/cmd/tendermint/commands/testnet.go @@ -152,6 +152,7 @@ func testnetFiles(cmd *cobra.Command, args []string) error { nodeDir := filepath.Join(outputDir, fmt.Sprintf("%s%d", nodeDirPrefix, i)) config.SetRoot(nodeDir) config.P2P.AddrBookStrict = false + config.P2P.AllowDuplicateIP = true if populatePersistentPeers { config.P2P.PersistentPeers = persistentPeers }