aqua/aqua-src/xor.aqua

12 lines
257 B
Plaintext
Raw Normal View History

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