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

Reset Reward Token Allowance to 0 to RoyaltyModule #355

Merged

Conversation

kingster-will
Copy link

Description

This PR updates the EvenSplitGroupPool contract's distributeRewards function to reset the allowance to 0 at the end of the function. This change ensures that the contract does not retain any unnecessary allowances, enhancing security and preventing potential misuse.

Key Changes

  • Allowance Reset: Added code to reset the allowance to 0 at the end of the distributeRewards function in the EvenSplitGroupPool contract.

Closes https://github.com/storyprotocol/trust-protocol-contracts-v1/issues/10

@kingster-will kingster-will merged commit 06cf9b0 into storyprotocol:main Dec 12, 2024
2 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