mirror of
https://github.com/AleoHQ/leo.git
synced 2024-12-24 01:54:23 +03:00
8 lines
267 B
Plaintext
8 lines
267 B
Plaintext
function main(s: bool, c: address) {
|
|
const a = address(aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8);
|
|
const b = address(aleo18qgam03qe483tdrcc3fkqwpp38ehff4a2xma6lu7hams6lfpgcpq3dq05r);
|
|
|
|
const r = s? a: b;
|
|
|
|
console.assert(r == c);
|
|
} |