leo/tests/compiler/address/equal.leo
2022-01-25 16:17:36 -08:00

14 lines
247 B
Plaintext

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