mirror of
https://github.com/fluencelabs/examples
synced 2024-12-13 07:05:31 +00:00
10 lines
327 B
Clojure
10 lines
327 B
Clojure
|
(xor
|
||
|
(seq
|
||
|
(call node_1 (service "get_latest_block") ["MC5H2NK6ZIPMR32U7D4W35AWNNVCQX1ENH"] hex_result)
|
||
|
(call %init_peer_id% (returnService "run") [hex_result])
|
||
|
)
|
||
|
(seq
|
||
|
(call relay ("op" "identity") [])
|
||
|
(call %init_peer_id% (returnService "run") ["XOR FAILED" %last_error%])
|
||
|
)
|
||
|
)
|