mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-12 15:54:36 +00:00
chore: better exception
This commit is contained in:
parent
a93aff789e
commit
0b143fd77d
@ -203,8 +203,8 @@ proc build*(builder: WakuNodeBuilder): Result[WakuNode, string] =
|
||||
let peerManager = PeerManager.new(
|
||||
switch = switch,
|
||||
storage = builder.peerStorage.get(nil),
|
||||
maxRelayPeers = builder.maxRelayPeers,
|
||||
maxServicePeers = builder.maxServicePeers,
|
||||
maxRelayPeers = some(builder.maxRelayPeers),
|
||||
maxServicePeers = some(builder.maxServicePeers),
|
||||
colocationLimit = builder.colocationLimit,
|
||||
shardedPeerManagement = builder.shardAware,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user