mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 09:46:26 +00:00
use floodsub instead of gossipsub
This commit is contained in:
parent
ba9c90c0a1
commit
b39f36b49b
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user