mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-22 15:23:07 +00:00
misc
This commit is contained in:
parent
2048958d2f
commit
87754dd298
@ -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"
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user