Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the address type #89

Closed
collinc97 opened this issue Jun 29, 2020 · 0 comments · Fixed by #100
Closed

Add support for the address type #89

collinc97 opened this issue Jun 29, 2020 · 0 comments · Fixed by #100
Labels
feature A new feature.

Comments

@collinc97
Copy link
Collaborator

collinc97 commented Jun 29, 2020

function main(owner: address) {
    let sender = address(aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8);
    let receiver: address = aleo1qnr4dkkvkgfqph0vzc3y6z2eu975wnpz2925ntjccd5cfqxtyu8sta57j8;
    assert_eq!(owner, sender);
    assert_eq!(sender, receiver);
}
@howardwu howardwu changed the title add address type Add support for the address type Jul 5, 2020
@howardwu howardwu added this to the Leo Developer Preview I milestone Jul 5, 2020
@howardwu howardwu added the feature A new feature. label Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants