79163835

Date: 2024-11-06 18:35:46
Score: 0.5
Natty:
Report link
        if (_allowances[from][to] < value) {
            revert ERC20InsufficientAllowance(to, _allowances[from][to], value); //error
        }

        _spendAllowance(from, to, value);

Here you are using to as spender, but the spender is actually msg.sender.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 0xSanson