mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 21:36:26 +00:00
remove explicit 0
This commit is contained in:
@@ -450,8 +450,6 @@ func createTransport(logger log.Logger, cfg *config.Config) *p2p.MConnTransport
|
||||
case cfg.P2P.MaxNumInboundPeers > 0:
|
||||
maxAccepted = uint32(cfg.P2P.MaxNumInboundPeers) +
|
||||
uint32(len(tmstrings.SplitAndTrimEmpty(cfg.P2P.UnconditionalPeerIDs, ",", " ")))
|
||||
default:
|
||||
maxAccepted = 0
|
||||
}
|
||||
|
||||
return p2p.NewMConnTransport(
|
||||
|
||||
Reference in New Issue
Block a user