leo/tests/compiler/address/equal.leo

14 lines
256 B
Plaintext
Raw Normal View History

2021-04-20 04:08:14 +03:00
/*
namespace: Compile
expectation: Pass
input_file:
2021-05-03 16:47:33 +03:00
- inputs/address1.in
- inputs/address2.in
2021-04-20 04:08:14 +03:00
*/
function main(x: address) -> bool {
2022-06-09 01:33:12 +03:00
const sender: address = aleo10qerras5799u6k7rjtc9y3hcwxuykr45qra7x7dp6jgnc0923czqm0lgta;
2021-04-20 04:08:14 +03:00
return x == sender;
}