From c3554bc0a1c8c5287a8eda4b1a8939501f726252 Mon Sep 17 00:00:00 2001 From: daeMOn Date: Thu, 1 Jul 2021 11:18:48 +0200 Subject: [PATCH] fix: set default allow_duplicate_ip to true (#93) --- go.mod | 2 +- server/util.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 1319726ed2..1c06f7e60e 100644 --- a/go.mod +++ b/go.mod @@ -48,7 +48,7 @@ require ( github.com/tendermint/btcd v0.1.1 github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 github.com/tendermint/go-amino v0.16.0 - github.com/tendermint/tendermint v0.34.10 + github.com/tendermint/tendermint v0.34.11 github.com/tendermint/tm-db v0.6.4 golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad golang.org/x/sys v0.0.0-20210510120138-977fb7262007 // indirect diff --git a/server/util.go b/server/util.go index 68f1c48281..67b18f8634 100644 --- a/server/util.go +++ b/server/util.go @@ -200,6 +200,7 @@ func interceptConfigs(rootViper *viper.Viper) (*tmcfg.Config, error) { conf.P2P.RecvRate = 5120000 conf.P2P.SendRate = 5120000 conf.Consensus.TimeoutCommit = 5 * time.Second + conf.P2P.AllowDuplicateIP = true tmcfg.WriteConfigFile(tmCfgFile, conf) case err != nil: