mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-15 04:13:11 +00:00
fix linter warning
This commit is contained in:
parent
436751b8b6
commit
b50fd481bf
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user