Closed 0xgizmob closed 8 months ago
From the transferFrom method, the line 235
transferFrom
if (allowed != type(uint256).max) { allowance[from_][msg.sender] = allowed - value; }
Should there be a check to ensure value < allowed, and revert if so?
This will already revert due to underflow, so no need to explicitly check.
From the
transferFrom
method, the line 235Should there be a check to ensure value < allowed, and revert if so?