Closed sherlock-admin4 closed 4 months ago
neogranicen
Medium
emergencyWithdraw does not update uses debt after leads to inability to claim rewards for amounts he deposited after a big emrgency withdraw
emergencyWithdraw
alice wont be able to deposit or withdraw or claim rewards any longer
https://github.com/sherlock-audit/2024-06-magicsea/blob/main/magicsea-staking/src/MasterchefV2.sol#L326
Manual Review
Insufficient code detail and insufficient content , so invalid
neogranicen
Medium
User will be inable to claim rewards for amounts he deposited after a big emrgency withralw
Summary
emergencyWithdraw
does not update uses debt after leads to inability to claim rewards for amounts he deposited after a big emrgency withdrawVulnerability Detail
Impact
alice wont be able to deposit or withdraw or claim rewards any longer
Code Snippet
https://github.com/sherlock-audit/2024-06-magicsea/blob/main/magicsea-staking/src/MasterchefV2.sol#L326
Tool used
Manual Review
Recommendation