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

chain-space: Fix bug of Space Creator Delegating Themselves #505

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

vatsa287
Copy link
Member

This PR adds a check which disallows creator of the space delegating themselves, thereby avoiding two entries of delegates belonging to the same source did, anyway creator will have 7 permission bits.
This avoids potential case of getting UnAuthorizedOperation even though the account posses sufficient permissions.

@vatsa287 vatsa287 force-pushed the fix-chainspace-bug branch 2 times, most recently from ca2f10a to 6c4d1f7 Compare September 11, 2024 07:46
amarts
amarts previously approved these changes Sep 11, 2024
amarts
amarts previously approved these changes Sep 11, 2024
@amarts amarts merged commit d51b425 into dhiway:develop Sep 12, 2024
3 checks passed
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.

2 participants