mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
removed a require condition
This commit is contained in:
parent
fb026bb91e
commit
0ed45f12d5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user