Skip to content

Commit

Permalink
fix(waku_node): if rln-relay is nil, return true
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Sep 8, 2023
1 parent 429389e commit 88bfe6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waku/node/waku_node.nim
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,6 @@ proc stop*(node: WakuNode) {.async.} =

proc isReady*(node: WakuNode): Future[bool] {.async.} =
if node.wakuRlnRelay == nil:
return false
return true
return await node.wakuRlnRelay.isReady()
## TODO: add other protocol `isReady` checks

0 comments on commit 88bfe6e

Please sign in to comment.