Skip to content

Commit

Permalink
Revert "pass max peers to libp2p (#2265)" (#2270)
Browse files Browse the repository at this point in the history
This reverts commit 64e4d74.
  • Loading branch information
tersec committed Jan 26, 2021
1 parent 2043588 commit 4de9875
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions beacon_chain/eth2_network.nim
Expand Up @@ -1526,13 +1526,7 @@ proc newBeaconSwitch*(conf: BeaconNodeConf, seckey: PrivateKey,

let identify = newIdentify(peerInfo)

newSwitch(
peerInfo,
transports,
identify,
muxers,
secureManagers,
maxConnections = conf.maxPeers)
newSwitch(peerInfo, transports, identify, muxers, secureManagers)

proc createEth2Node*(rng: ref BrHmacDrbgContext,
conf: BeaconNodeConf,
Expand Down
2 changes: 1 addition & 1 deletion vendor/nim-libp2p

0 comments on commit 4de9875

Please sign in to comment.