From 8f11914e5750e2c39d0c65322249b551a7252ee9 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 12 Jan 2026 17:46:59 +0400 Subject: [PATCH] Add missing bool --- codex/codex.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex/codex.nim b/codex/codex.nim index 4a9b1ee2..4ad10a01 100644 --- a/codex/codex.nim +++ b/codex/codex.nim @@ -216,6 +216,8 @@ proc stop*(s: CodexServer) {.async.} = let res = await noCancel allFinishedFailed[void](futures) + s.isStarted = false + if res.failure.len > 0: error "Failed to stop Storage node", failures = res.failure.len raiseAssert "Failed to stop Storage node"