Skip to content

Logical error in transferWithPermit #27

@0xklapouchy

Description

@0xklapouchy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions