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

🔒 Check use of unchecked {} #101

Open
transmissions11 opened this issue Jan 3, 2022 · 1 comment
Open

🔒 Check use of unchecked {} #101

transmissions11 opened this issue Jan 3, 2022 · 1 comment

Comments

@transmissions11
Copy link
Contributor

Screen Shot 2022-01-03 at 4 12 57 AM

not sure this is actually sound cuz balances are uint248s

@transmissions11
Copy link
Contributor Author

i think we can still use unchecked if we do = (.balance + amount).safeCast()

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

No branches or pull requests

1 participant