examples/multi-service/air-scripts/test_air.clj
2021-03-04 01:57:19 -06:00

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%])
)
)