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
a93aff789e
commit
0b143fd77d
@ -203,8 +203,8 @@ proc build*(builder: WakuNodeBuilder): Result[WakuNode, string] =
|
|||||||
let peerManager = PeerManager.new(
|
let peerManager = PeerManager.new(
|
||||||
switch = switch,
|
switch = switch,
|
||||||
storage = builder.peerStorage.get(nil),
|
storage = builder.peerStorage.get(nil),
|
||||||
maxRelayPeers = builder.maxRelayPeers,
|
maxRelayPeers = some(builder.maxRelayPeers),
|
||||||
maxServicePeers = builder.maxServicePeers,
|
maxServicePeers = some(builder.maxServicePeers),
|
||||||
colocationLimit = builder.colocationLimit,
|
colocationLimit = builder.colocationLimit,
|
||||||
shardedPeerManagement = builder.shardAware,
|
shardedPeerManagement = builder.shardAware,
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user