diff --git a/codex/codex.nim b/codex/codex.nim index 2f5cf860..26d7a71d 100644 --- a/codex/codex.nim +++ b/codex/codex.nim @@ -65,7 +65,6 @@ proc bootstrapInteractions( config = s.config repo = s.repoStore - if not config.persistence and not config.validator: if config.ethAccount.isSome or config.ethPrivateKey.isSome: warn "Ethereum account was set, but neither persistence nor validator is enabled" diff --git a/codex/stores/maintenance.nim b/codex/stores/maintenance.nim index 98b6fab9..e1d91dde 100644 --- a/codex/stores/maintenance.nim +++ b/codex/stores/maintenance.nim @@ -91,7 +91,7 @@ proc start*(self: BlockMaintainer) = try: await self.runBlockCheck() except CatchableError as exc: - error "Unexpected exception in BlockMaintainer.onTimer(): ", msg=exc.msg + error "Exception in BlockMaintainer.onTimer(): ", msg=exc.msg self.timer.start(onTimer, self.interval)