Merge branch 'dev/etan/zf-branchpull' into feat/splitview

This commit is contained in:
Etan Kissling 2024-03-27 16:25:07 +01:00
commit 3ab0767b35
No known key found for this signature in database
GPG Key ID: B21DA824C5A3D03D
1 changed files with 2 additions and 2 deletions

View File

@ -221,11 +221,11 @@ proc start*(lightClient: LightClient) =
trusted_block_root = lightClient.trustedBlockRoot trusted_block_root = lightClient.trustedBlockRoot
lightClient.manager.start() lightClient.manager.start()
proc stop*(lightClient: LightClient) {.async: (raises: [], raw: true).} = proc stop*(lightClient: LightClient) {.async: (raises: []).} =
if not lightClient.manager.isRunning: if not lightClient.manager.isRunning:
return return
notice "Stopping light client" notice "Stopping light client"
lightClient.manager.stop() await lightClient.manager.stop()
proc resetToFinalizedHeader*( proc resetToFinalizedHeader*(
lightClient: LightClient, lightClient: LightClient,