Logical error in transferWithPermit
Open
- Dominant language
- Solidity
- Stars
- 166
- Forks
- 175
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
There is a logical error in one of the require in transferWithPermit:
require(to != address(0) || to != address(this));
it should be
require(to != address(0) && to != address(this));
otherwise it has no sens as to=address(this) will pass.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.