uncomment, fix

This commit is contained in:
DieMyst 2022-01-26 13:13:09 +03:00
parent 5891a5703f
commit 15fd464628
2 changed files with 9 additions and 10 deletions

View File

@ -15,12 +15,12 @@ func joinIdxRelay(idx: i16, nodes: []string) -> []string:
join nodes2[idx], nodes
<- nodes2
-- func joinIdx(idx: i16, nodes: []string) -> []Info:
-- infos: *Info
-- nodes2: *string
-- for node <- nodes par:
-- on node:
-- infos <- Peer.identify()
-- nodes2 <<- node
-- join infos[idx], nodes2[idx]
-- <- infos
func joinIdx(idx: i16, nodes: []string) -> []Info:
infos: *Info
nodes2: *string
for node <- nodes par:
on node:
infos <- Peer.identify()
nodes2 <<- node
join infos[idx], nodes2[idx]
<- infos

View File

@ -33,7 +33,6 @@ import {closuresCall} from "../examples/closures";
import {streamCanCall} from "../examples/streamCan";
import {streamCallbackCall} from "../examples/streamCallback";
import {streamResCall} from "../examples/streamRestrictionsCall";
import {joinIdx} from "../compiled/examples/join";
import {joinIdxCall, joinIdxLocalCall, joinIdxRelayCall} from "../examples/joinCall";
var selfPeerId: string;