Only use noise
This commit is contained in:
parent
8ac613421d
commit
f53425873c
|
@ -1108,6 +1108,9 @@ proc createEth2Node*(rng: ref BrHmacDrbgContext, conf: BeaconNodeConf, enrForkId
|
||||||
sign = false, verifySignature = false,
|
sign = false, verifySignature = false,
|
||||||
transportFlags = {ServerFlags.ReuseAddr},
|
transportFlags = {ServerFlags.ReuseAddr},
|
||||||
msgIdProvider = msgIdProvider,
|
msgIdProvider = msgIdProvider,
|
||||||
|
secureManagers = [
|
||||||
|
SecureProtocol.Noise, # Only noise in ETH2!
|
||||||
|
],
|
||||||
rng = rng)
|
rng = rng)
|
||||||
result = Eth2Node.init(conf, enrForkId, switch,
|
result = Eth2Node.init(conf, enrForkId, switch,
|
||||||
extIp, extTcpPort, extUdpPort,
|
extIp, extTcpPort, extUdpPort,
|
||||||
|
|
Loading…
Reference in New Issue