Skip to content

changed is_erc20_transfer to use Transfer signature instead of Approval #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ChadRosseau
Copy link

Motivation

fixes #231

Solution

Changed erc20_transfers.rs line 104 from:

log.topics()[0] == ERC20::Approval::SIGNATURE_HASH

to

log.topics()[0] == ERC20::Transfer::SIGNATURE_HASH

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

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.

erc20_transfers collect_by_transaction uses Approval signature instead of Transfer signature
1 participant