Wrong implementation of TurboSafe.sol#less() may cause boosted record value in TurboMaster bigger than actual lead to BoostCapForVault and BoostCapForCollateral to be permanently occupied
The less() function in TurboSafe.sol incorrectly updates the master contract's accounting when the amount of Fei withdrawn exceeds the debt balance, causing the recorded boosted amount for a vault to be larger than the actual amount. This can permanently occupy the boost caps for the vault and collateral, preventing new boosts.
Tribe Turbo contest
Medium