connext / connext/chaindata

Logical error in transferWithPermit

Open
#27 1 comment 1 reaction 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.