mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-02 17:53:52 +00:00
use proper transport flags
This commit is contained in:
parent
a1689f2aaf
commit
0649d47df0
@ -940,7 +940,8 @@ proc createEth2Node*(conf: BeaconNodeConf, enrForkId: ENRForkID): Future[Eth2Nod
|
|||||||
# are running behind a NAT).
|
# are running behind a NAT).
|
||||||
var switch = newStandardSwitch(some keys.seckey, hostAddress,
|
var switch = newStandardSwitch(some keys.seckey, hostAddress,
|
||||||
triggerSelf = true, gossip = true,
|
triggerSelf = true, gossip = true,
|
||||||
sign = false, verifySignature = false, transportFlags = {TransportFlag.ReuseAddr})
|
sign = false, verifySignature = false,
|
||||||
|
transportFlags = {ServerFlags.ReuseAddr})
|
||||||
result = Eth2Node.init(conf, enrForkId, switch,
|
result = Eth2Node.init(conf, enrForkId, switch,
|
||||||
extIp, extTcpPort, extUdpPort,
|
extIp, extTcpPort, extUdpPort,
|
||||||
keys.seckey.asEthKey)
|
keys.seckey.asEthKey)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user