Merge branch 'dev/etan/zf-branchpull' into feat/splitview
This commit is contained in:
commit
3ab0767b35
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue