leo/tests/compiler/address/equal.leo

14 lines
247 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;
}