fix
This commit is contained in:
parent
3376887ba7
commit
986c548b00
|
@ -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