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

16 lines
454 B
Clojure

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