sherlock-audit / 2024-10-gamma-rewarder-judging

7 stars 3 forks source link

Joyous Pistachio Lark - L-9 Shadowing state variables may lead to unintended behavior. #237

Closed sherlock-admin4 closed 2 weeks ago

sherlock-admin4 commented 2 weeks ago

Joyous Pistachio Lark

Low/Info

L-9 Shadowing state variables may lead to unintended behavior.

Shadowing state variables may lead to unintended behavior.

Recommendation: Avoid shadowing state variables.

https://github.com/sherlock-audit/2024-10-gamma-rewarder/blob/main/GammaRewarder/contracts/GammaRewarder.sol#L82