From 286d6e14da6bec6fe3d362a92bedbdc50b027370 Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Sun, 22 Mar 2020 18:20:46 +0200 Subject: [PATCH] Attempt to fix the Travis ARM build --- beacon_chain/beacon_node.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_chain/beacon_node.nim b/beacon_chain/beacon_node.nim index db3f3694d..6b6ac170f 100644 --- a/beacon_chain/beacon_node.nim +++ b/beacon_chain/beacon_node.nim @@ -866,7 +866,7 @@ func slotOrZero(time: BeaconTime): Slot = if exSlot.afterGenesis: exSlot.slot else: Slot(0) -func currentSlot(node: BeaconNode): Slot = +proc currentSlot(node: BeaconNode): Slot = node.beaconClock.now.slotOrZero proc connectedPeersCount(node: BeaconNode): int =