token.safeApprove(to, 0);
}
In case you need to call approve() because the amount is greater than the allowance, the function first calls approve() with zero and then calls approve() with the amount.
Why it is calling approve(0)?
There is a vulnerability
Обсуждают сегодня