1
0
mirror of https://github.com/fluencelabs/aqua.git synced 2025-03-16 04:00:50 +00:00

12 lines
257 B
Plaintext
Raw Normal View History

2022-03-03 17:54:45 +03:00
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!