Category: Coding Mistakes
Unused variable
Informational Severity
Informational Impact
N/A Likelihood
Description
There is an unused variable, WITHDRAWOUT_STRATEGY_ADDRESS
, in the contract InfiniCardController.
address public constant WITHDRAWOUT_STRATEGY_ADDRESS = address(0);
Impact
It may compromise code readability and could consume more gas fees.
Recommendations
Consider removing the unused function or integrating the variable into the contract logic to ensure consistency and avoid potential confusion.
Remediation
This issue has been acknowledged by Infini Labs, and a fix was implemented in commit 96af3c4e↗.