From b37ad4dccb5333a211e1206d2ef4b2ed0daf61f9 Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Wed, 27 Mar 2024 16:39:42 +0100 Subject: [PATCH] fix --- beacon_chain/nimbus_beacon_node.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/nimbus_beacon_node.nim b/beacon_chain/nimbus_beacon_node.nim index 993f2627f..4384308bd 100644 --- a/beacon_chain/nimbus_beacon_node.nim +++ b/beacon_chain/nimbus_beacon_node.nim @@ -1586,9 +1586,9 @@ proc onSlotEnd(node: BeaconNode, slot: Slot) {.async.} = # Light client is stopped while branch discovery is ongoing if node.branchDiscovery.state != BranchDiscoveryState.Stopped: - node.startLightClient() - else: await node.stopLightClient() + else: + node.startLightClient() func formatNextConsensusFork( node: BeaconNode, withVanityArt = false): Opt[string] =