mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-02 13:33:10 +00:00
[node] fix: stop validator (#401)
This commit is contained in:
parent
5ce655db47
commit
515304f9c5
@ -421,5 +421,8 @@ proc stop*(node: CodexNodeRef) {.async.} =
|
||||
if hostContracts =? node.contracts.host:
|
||||
await hostContracts.stop()
|
||||
|
||||
if validatorContracts =? node.contracts.validator:
|
||||
await validatorContracts.stop()
|
||||
|
||||
if not node.blockStore.isNil:
|
||||
await node.blockStore.close
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user