Switch to GossipSub

This commit is contained in:
Zahary Karadjov 2020-03-25 18:18:39 +02:00 committed by zah
parent 22876da593
commit 46e395c647
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ proc createEth2Node*(conf: BeaconNodeConf): Future[Eth2Node] {.async, gcsafe.} =
# 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 = false)
triggerSelf = true, gossip = true)
result = Eth2Node.init(conf, switch, extIp, keys.seckey.asEthKey)
proc getPersistenBootstrapAddr*(conf: BeaconNodeConf,