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 join nodes2[idx], nodes
<- nodes2 <- nodes2
-- func joinIdx(idx: i16, nodes: []string) -> []Info: func joinIdx(idx: i16, nodes: []string) -> []Info:
-- infos: *Info infos: *Info
-- nodes2: *string nodes2: *string
-- for node <- nodes par: for node <- nodes par:
-- on node: on node:
-- infos <- Peer.identify() infos <- Peer.identify()
-- nodes2 <<- node nodes2 <<- node
-- join infos[idx], nodes2[idx] join infos[idx], nodes2[idx]
-- <- infos <- infos

View File

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