function updateStrategyRatio calls updateStrategiesDebtRatio and emits LogNewDebtRatios event. function invest also calls updateStrategiesDebtRatio but does not emit this event.
Recommended Mitigation Steps
You can extract this coupled functionality to a separate function to make sure that LogNewDebtRatios is always emitted when updateStrategiesDebtRatio is called.
Handle
pauliax
Vulnerability details
Impact
function updateStrategyRatio calls updateStrategiesDebtRatio and emits LogNewDebtRatios event. function invest also calls updateStrategiesDebtRatio but does not emit this event.
Recommended Mitigation Steps
You can extract this coupled functionality to a separate function to make sure that LogNewDebtRatios is always emitted when updateStrategiesDebtRatio is called.