use floodsub instead of gossipsub

This commit is contained in:
Dmitriy Ryajov 2020-02-05 17:19:52 +01:00
parent ba9c90c0a1
commit b39f36b49b
1 changed files with 1 additions and 1 deletions

View File

@ -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)