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

added get_owner() function #7

Open
wants to merge 1 commit into
base: registry
Choose a base branch
from

Conversation

OlexandrSai
Copy link

This function is needed for NCD.L2.sample--thanks
if get_owner == wallet.getAccountId(), then we can owner functions
By owner functions I mean functions with ' this.assert_owner() '
In my opinion is easier to maintain with 1 view function and to call to 2 change functions and then by getting error make decision about which components do we need to show to user in UI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant