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

feat: readd initializer #13

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat: readd initializer #13

wants to merge 2 commits into from

Conversation

sakulstra
Copy link

No description provided.

@sakulstra sakulstra force-pushed the feat/new-deployment branch from 9154fb6 to efb66db Compare November 2, 2023 08:47
@@ -517,7 +531,7 @@ contract StakedTokenV3 is
} else {
stakersCooldowns[from].amount =
stakersCooldowns[from].amount -
amountToRedeem.toUint184();
amountToRedeem.toUint104();
Copy link
Author

@sakulstra sakulstra Nov 2, 2023

Choose a reason for hiding this comment

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

the cast was wrong (as it's already casted toUint104 5 lines above)

generally safeCast seems unnecessary here, given that a safeCast is performed a few lines above, should i better use a normal cast?

@sakulstra sakulstra force-pushed the feat/new-deployment branch from efb66db to 17854bb Compare November 2, 2023 09: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.

1 participant