diff --git a/beacon_chain/eth2_network.nim b/beacon_chain/eth2_network.nim index 68c5818b7..975dfa9eb 100644 --- a/beacon_chain/eth2_network.nim +++ b/beacon_chain/eth2_network.nim @@ -164,7 +164,7 @@ else: waitFor daemon.close() template tcpEndPoint(address, port): auto = - MultiAddress.init(address, IPPROTO_TCP, port) + MultiAddress.init(address, Protocol.IPPROTO_TCP, port) proc createEth2Node*(conf: BeaconNodeConf): Future[Eth2Node] {.async.} = var