Skip to content

fix bug in library ExplicitERC20#223

Open
gzliudan wants to merge 1 commit intoSetProtocol:masterfrom
gzliudan:ExplicitERC20
Open

fix bug in library ExplicitERC20#223
gzliudan wants to merge 1 commit intoSetProtocol:masterfrom
gzliudan:ExplicitERC20

Conversation

@gzliudan
Copy link
Contributor

In some special cases, function transferFrom's parameters _from and _to are same account, then the condition newBalance == existingBalance.add(_quantity) is not met. So we need to check _from == _to also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant