examples/par-greeter/secure-greeter/air-scripts/air_greet.clj

17 lines
422 B
Clojure
Raw Normal View History

2021-04-10 03:50:07 +00:00
(xor
(seq
(seq
(call relay ("op" "identity") [])
(call node (greeter "greeting") [name] 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%])
)
)