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

[nit] Use checked_add for account supply calculation #2364

Merged
merged 1 commit into from
Feb 20, 2024
Merged

Conversation

raychu86
Copy link
Contributor

Motivation

This PR replaces the use of saturating_add with checked_add for added security and assurance.

@howardwu howardwu requested a review from ljedrz February 20, 2024 00:10
@howardwu howardwu merged commit f262864 into mainnet Feb 20, 2024
78 checks passed
@howardwu howardwu deleted the supply-check branch February 20, 2024 21:26
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.

3 participants