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

chore: update based on reviews #18

Merged
merged 1 commit into from
Jun 7, 2024
Merged

chore: update based on reviews #18

merged 1 commit into from
Jun 7, 2024

Conversation

pyk
Copy link
Owner

@pyk pyk commented Jun 7, 2024

Fixes #16

  • The unlock function now clears the locks[tokenId] storage.
  • Added nonReentrant to the claim function.
  • Increased claimedRewards before transferring the token.

@pyk pyk mentioned this pull request Jun 7, 2024
@pyk pyk merged commit 0b2c4d1 into main Jun 7, 2024
1 check passed
@pyk pyk deleted the pyk/fix-16 branch June 7, 2024 18:20
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.

Audit reviews
1 participant