Take a look at https://github.com/code-423n4/2024-08-wildcat/blob/fe746cc0fbedc4447a981a50e6ba4c95f98b9fe1/src/types/LenderStatus.sol#L54-L70
These functions are used to set/unset the credential status of a lender, issue however is that they never check to ensure the value being set is not whats already stored.
QA
Apply equality checkers.
