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

Checked arithmetic in multitoken vp #2441

Closed
wants to merge 2 commits into from

Conversation

Fraccaman
Copy link
Member

Describe your changes

  • Use checked arithmetic in multitoken vp

Indicate on which release or other PRs this topic is based on

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@Fraccaman Fraccaman requested a review from yito88 January 25, 2024 11:08
Comment on lines 81 to 83
// Check if the minter is set
if !self.is_valid_minter(token, verifiers)? {
return Ok(false);
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I moved this condition at the beginning, hopefully is fine

@Fraccaman Fraccaman force-pushed the fraccaman/fix-multitoken-arithmetic branch from cdb360c to 414de6d Compare January 25, 2024 12:02
@Fraccaman Fraccaman requested a review from cwgoes January 25, 2024 12:04
@tzemanovic tzemanovic mentioned this pull request Jan 25, 2024
@Fraccaman
Copy link
Member Author

Closed in favor of #2443

@Fraccaman Fraccaman closed this Jan 25, 2024
@tzemanovic tzemanovic mentioned this pull request Jan 25, 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.

1 participant