mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-05 15:33:08 +00:00
Fix mesh bug indent
This commit is contained in:
parent
6e927b2a82
commit
817d887c6a
@ -71,15 +71,14 @@ proc fullMeshNetwork(amount: int): seq[NodeInfo] =
|
||||
var staticnodes: seq[string]
|
||||
for item in result:
|
||||
staticnodes.add(item.address)
|
||||
result.add(initNodeCmd(portOffset + i, staticnodes, label = "full node"))
|
||||
result.add(initNodeCmd(portOffset + i, staticnodes, label = "full node"))
|
||||
|
||||
when isMainModule:
|
||||
# TODO: WakuNetworkConf
|
||||
var nodes: seq[NodeInfo]
|
||||
let topology = Star
|
||||
let topology = FullMesh
|
||||
let amount = 6
|
||||
|
||||
# XXX: For some reason Mesh hangs with multitail
|
||||
case topology:
|
||||
of Star:
|
||||
nodes = starNetwork(amount)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user