mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-13 00:05:10 +00:00
chore: better exception
This commit is contained in:
parent
3330113345
commit
a93aff789e
@ -203,6 +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,
|
||||
colocationLimit = builder.colocationLimit,
|
||||
shardedPeerManagement = builder.shardAware,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user