curvefi/curve-contract

LP token has allowance without asserting previous allowance to be zero

michwill opened this issue · 1 comments

While being a low-severity issue, it's better to assert that allowance is zero before setting a new allowance. Liquidity token (cDAIUSDC) is affected by that. That's important in case LP token starts being used massively as an interest-accruing token of its own.