You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unused variable in Pool contract:
uint8 public constant DL_FACTORY = 1; // Factory type of DebtLockerFactory.
Also unused event in MapleTreasury contract:
event FundsTokenModified(address by, address newFundsToken);
Unused code provokes doubts about its intended use.
Recommended Mitigation Steps
Remove unused code to make it more readable and consume less gas.
The text was updated successfully, but these errors were encountered:
Handle
paulius.eth
Vulnerability details
Vulnerability details
unused variable in Pool contract:
uint8 public constant DL_FACTORY = 1; // Factory type of
DebtLockerFactory
.Also unused event in MapleTreasury contract:
event FundsTokenModified(address by, address newFundsToken);
Unused code provokes doubts about its intended use.
Recommended Mitigation Steps
Remove unused code to make it more readable and consume less gas.
The text was updated successfully, but these errors were encountered: