mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 14:33:12 +00:00
fix(wakucanary): add missing return on timeout (#1901)
This commit is contained in:
parent
5e2e1b6bd0
commit
23852c4938
@ -178,6 +178,7 @@ proc main(rng: ref HmacDrbgContext): Future[int] {.async.} =
|
||||
let timedOut = not await node.connectToNodes(@[peer]).withTimeout(conf.timeout)
|
||||
if timedOut:
|
||||
error "Timedout after", timeout = conf.timeout
|
||||
return 1
|
||||
|
||||
let lp2pPeerStore = node.switch.peerStore
|
||||
let conStatus = node.peerManager.peerStore[ConnectionBook][peer.peerId]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user