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: