mirror of
https://github.com/fluencelabs/examples
synced 2024-12-14 23:35:38 +00:00
17 lines
419 B
Clojure
17 lines
419 B
Clojure
|
(xor
|
||
|
(seq
|
||
|
(seq
|
||
|
(call relay ("op" "identity") [])
|
||
|
(call node (service "am_i_owner") [] result)
|
||
|
)
|
||
|
(seq
|
||
|
(call relay ("op" "identity") [])
|
||
|
(call %init_peer_id% (returnService "run") [result])
|
||
|
)
|
||
|
)
|
||
|
(seq
|
||
|
(call relay ("op" "identity") [])
|
||
|
(call %init_peer_id% (returnService "run") ["XOR FAILED" %last_error%])
|
||
|
)
|
||
|
)
|