mirror of
https://github.com/fluencelabs/examples
synced 2024-12-14 15:25:39 +00:00
11 lines
342 B
Clojure
11 lines
342 B
Clojure
(xor
|
|
(seq
|
|
(call relay (service "get_latest_block") [api_key] result)
|
|
(call %init_peer_id% (returnService "run") [result])
|
|
)
|
|
(seq
|
|
(call relay ("op" "identity") [])
|
|
(call %init_peer_id% (returnService "run") ["XOR FAILED" %last_error%])
|
|
)
|
|
)
|