Submitted by WatchPug
CrvDepositor.sol#L127-L134
In _lockCurve(), unlockInWeeks - unlockTime is being used as a number in weeks, while it actually is a number in seconds.
Thus, comparing it with 2 actually means a 2 seconds buffer instead of a 2 weeks buffer.
The intention is to wait for 2 weeks before extending the lock time again, but the current implementation allows the extension of the lock once a new week begins.
Consider changing the name of unlockTime to unlockTimeInWeeks, and:
CrvDepositor.sol#L94-L102
0xMaharishi (Aura Finance) confirmed and resolved:
