mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-25 10:42:31 +00:00
uncomment, fix
This commit is contained in:
parent
5891a5703f
commit
15fd464628
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user