Skip to content

Commit

Permalink
fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
s-tikhomirov committed Feb 28, 2025
1 parent 321dc7e commit 0e66d8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/waku_lightpush/lightpush_utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@ proc newTestWakuLightpushNode*(

proc newTestWakuLightpushClient*(switch: Switch): WakuLightPushClient =
let peerManager = PeerManager.new(switch)
let reputationManager = if defined(reputation): some(ReputationManager.new()) else: none(ReputationManager)
let reputationManager =
if defined(reputation):
some(ReputationManager.new())
else:
none(ReputationManager)
WakuLightPushClient.new(peerManager, rng, reputationManager)

0 comments on commit 0e66d8e

Please sign in to comment.