From b39f36b49bef25d07e98f0912db1beca85743fdb Mon Sep 17 00:00:00 2001 From: Dmitriy Ryajov Date: Wed, 5 Feb 2020 17:19:52 +0100 Subject: [PATCH] use floodsub instead of gossipsub --- beacon_chain/eth2_network.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index 4c3a93046..0824e1404 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -155,7 +155,7 @@ when networkBackend in [libp2p, libp2pDaemon]: # that are different from the host address (this is relevant when we # are running behind a NAT). var switch = newStandardSwitch(some keys.seckey, hostAddress, - triggerSelf = true, gossip = true) + triggerSelf = true, gossip = false) result = Eth2Node.init(conf, switch, keys.seckey) for enr in bootstrapEnrs: result.addKnownPeer(enr)