Only use noise

This commit is contained in:
Jacek Sieka 2020-07-07 17:52:14 +02:00 committed by tersec
parent 8ac613421d
commit f53425873c
1 changed files with 3 additions and 0 deletions

View File

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