Function: removeLender(address _lender)
This removes lender from list.
Inputs
_lenderControl: Full.
Constraints: Needs to be a valid address.
Impact: The lender to manage debt.
Branches and code coverage (including function calls)
Intended branches
Owner can successfully remove lender.
Owner or nonowner can successfully remove lender with a strategy with its
aggregator.strategies(_lender).activationbeing equal to zero.
Negative behavior
Function reverts if invoked by nonowner.
Function call analysis
rootFunction -> aggregator.strategies(address)What is controllable?
_lenderIf return value controllable, how is it used and how can it go wrong? It is used to determine whether the strategy for
_lenderis revoked or not.What happens if it reverts, reenters, or does other unusual control flow? N/A.