mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-26 06:33:56 +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