Skip to content

Commit

Permalink
remove unnecessary condition
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmer committed Dec 23, 2024
1 parent 640f6d3 commit 55e4019
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions waku/factory/waku.nim
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ proc setupAppCallbacks(
if node.wakuRelay.isNil():
return
err("Cannot configure topicHealthChangeHandler callback without Relay mounted")
if node.peerManager.isNil():
return err(
"Cannot configure topicHealthChangeHandler callback with empty peer manager"
)
node.wakuRelay.onTopicHealthChange = appCallbacks.topicHealthChangeHandler

return ok()
Expand Down

0 comments on commit 55e4019

Please sign in to comment.