From 4de9875cdf9f2052989ff52af94429b36caf8893 Mon Sep 17 00:00:00 2001 From: tersec Date: Tue, 26 Jan 2021 17:53:52 +0100 Subject: [PATCH] Revert "pass max peers to libp2p (#2265)" (#2270) This reverts commit 64e4d74f87d8e1751078c1c925fb3305a0137ebf. --- beacon_chain/eth2_network.nim | 8 +------- vendor/nim-libp2p | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index 522eea3b46..33400afcd6 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -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, diff --git a/vendor/nim-libp2p b/vendor/nim-libp2p index 1d77d37f17..0959877b29 160000 --- a/vendor/nim-libp2p +++ b/vendor/nim-libp2p @@ -1 +1 @@ -Subproject commit 1d77d37f17a8d4b9bbafb83eae69790dad48b4c5 +Subproject commit 0959877b29be802b857cb10ab194f5cf29e3649f