This commit is contained in:
Etan Kissling 2024-03-27 16:39:42 +01:00
parent 986c548b00
commit b37ad4dccb
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 2 additions and 2 deletions

View File

@ -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] =