removed a require condition

This commit is contained in:
Samyak Jain 2020-05-06 15:04:10 +10:00
parent fb026bb91e
commit 0ed45f12d5

View File

@ -197,8 +197,6 @@ contract CurveProtocol is CurveHelpers {
uint _amt18 = convertTo18(TokenInterface(token).decimals(), _amt);
uint _slippageAmt = wmul(unitAmt, _amt18);
require(_curveAmt < _slippageAmt, "excess-burning");
curveSwap.remove_liquidity_imbalance(_amts, _slippageAmt);
setUint(setId, _amt);