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

7 stars 3 forks source link

Joyous Pistachio Lark - L-3: Missing checks for `address(0)` when assigning values to address state variables #231

Closed sherlock-admin2 closed 2 weeks ago

sherlock-admin2 commented 2 weeks ago

Joyous Pistachio Lark

Low/Info

L-3: Missing checks for address(0) when assigning values to address state variables

Check for address(0) when assigning values to address state variables.

2 Found Instances - Found in contracts/GammaRewarder.sol [Line: 83](contracts/GammaRewarder.sol#L83) ```solidity protocolFeeRecipient = _protocolFeeRecipient; ``` - Found in contracts/GammaRewarder.sol [Line: 263](contracts/GammaRewarder.sol#L263) ```solidity protocolFeeRecipient = _feeRecipient; ```