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

Detect and Revert Duplicate License Terms #75

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

kingster-will
Copy link

This PR detects duplicate license terms when registering derivative and revert operations.

Closes #41

Copy link
Member

@LeoHChen LeoHChen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, are there any other place you need to check the return value of the .add function, which may be causing bugs?

@kingster-will
Copy link
Author

LGTM, are there any other place you need to check the return value of the .add function, which may be causing bugs?

The return value is for indicating whether the item has already exist in the Set. As this is the only one function to register derivative relationship between child Ip and parent IP need to check duplicate. no other place need this check.

@LeoHChen LeoHChen merged commit bbe4f87 into storyprotocol:main Apr 12, 2024
3 checks passed
jdubpark pushed a commit to jdubpark/sp-protocol-core that referenced this pull request Apr 14, 2024
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.

Duplicate License Terms allowed on Registering Derivative IP
3 participants