Description:
In liquidate_collateral function from central_control contract, when each collateral in the liquidation_amount vector is liquidated, the DecreaseBalance message is not called. As a consequence, the collateral balance of the liquidated user won't decrease and will continue accruing rewards.
Code Location:
krp-cdp-contracts/contracts/central_control/src/contract.rs#L280-L295
Description: In
liquidate_collateral
function from central_control contract, when each collateral in theliquidation_amount
vector is liquidated, the DecreaseBalance message is not called. As a consequence, the collateral balance of the liquidated user won't decrease and will continue accruing rewards. Code Location: krp-cdp-contracts/contracts/central_control/src/contract.rs#L280-L295