Submitted by Ch_301
Market.sol#L566
Users able to invoke forceReplenish() when they are on liquidation position.
On Market.sol ==> forceReplenish()
On this line
getCollateralValueInternal(user) only return the value of the collateral
So if the user have 1.5 wETH at the price of  1 ETH = 1600 USD 
It will return 1.5 * 1600 and this value is the real value we cant just check it directly with the debt like this
This is no longer over collateralized protocol.
The value needs to be multiplied by collateralFactorBps / 10000
Use getCreditLimitInternal() rather than getCollateralValueInternal().
0xean (judge) commented:
08xmt (Inverse) commented:
08xmt (Inverse) confirmed and commented:
