Submitted by cccz
Some tokens (like USDT) do not work when changing the allowance from an existing non-zero allowance value.They must first be approved by zero and then the actual allowance must be approved.
AutoleverageBase.sol#L61-L63
AutoleverageBase.sol#L147-L147
AutoleverageBase.sol#L178-L179
0xtao (Alchemix) confirmed and commented:
0xleastwood (judge) commented:
