mirror of https://github.com/waku-org/nwaku.git
Fix mesh bug indent
This commit is contained in:
parent
8a648a44aa
commit
063a57d583
|
@ -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…
Reference in New Issue