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 authored and dryajov committed Jan 28, 2021
1 parent bd33aa3 commit c39753b
Showing 1 changed file with 1 addition and 7 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

0 comments on commit c39753b

Please sign in to comment.