leo/tests/compiler/address/equal.leo
2021-05-03 16:47:33 +03:00

13 lines
246 B
Plaintext

/*
namespace: Compile
expectation: Pass
input_file:
- inputs/address1.in
- inputs/address2.in
*/
function main(x: address) -> bool {
const sender = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
return x == sender;
}