From 3f510eb5013b588797e9be6773412854c69ee773 Mon Sep 17 00:00:00 2001 From: Marcin Czenko Date: Mon, 2 Dec 2024 16:07:43 +0100 Subject: [PATCH] fixes incomplete async annotation (#1015) --- codex/stores/maintenance.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex/stores/maintenance.nim b/codex/stores/maintenance.nim index 63c6ba40..3d1e66ca 100644 --- a/codex/stores/maintenance.nim +++ b/codex/stores/maintenance.nim @@ -58,7 +58,7 @@ proc deleteExpiredBlock(self: BlockMaintainer, cid: Cid): Future[void] {.async.} if isErr (await self.repoStore.delBlock(cid)): trace "Unable to delete block from repoStore" -proc processBlockExpiration(self: BlockMaintainer, be: BlockExpiration): Future[void] {.async} = +proc processBlockExpiration(self: BlockMaintainer, be: BlockExpiration): Future[void] {.async.} = if be.expiry < self.clock.now: await self.deleteExpiredBlock(be.cid) else: