examples/multi-service/air-scripts/ethqlite_init.clj
2021-03-08 17:38:52 -06:00

16 lines
442 B
Clojure

(xor
(seq
(seq
(call relay ("op" "identity") [])
(call node_1 (service "init_service") [use_owner api_key] 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%])
)
)