mirror of
https://github.com/fluencelabs/aqua.git
synced 2024-12-04 22:50:18 +00:00
12 lines
257 B
Plaintext
12 lines
257 B
Plaintext
service OpR("op"):
|
|
identity: string -> string
|
|
|
|
func ifCorrectXorWrap(node: string) -> string:
|
|
service_id: *string
|
|
on node:
|
|
res <- OpR.identity("1234")
|
|
if res == "":
|
|
service_id <<- "0x"
|
|
else:
|
|
service_id <<- "1x"
|
|
<- service_id! |