Skip to content

Commit

Permalink
removed duplication on calling super tokentransfer hook 🤠
Browse files Browse the repository at this point in the history
  • Loading branch information
Bulalu committed Aug 4, 2023
1 parent 4f039c8 commit ced89ed
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/ERC721ACH.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,7 @@ contract ERC721ACH is ERC721AC, IERC721ACH {
startTokenId,
quantity
);
} else {
super._beforeTokenTransfers(from, to, startTokenId, quantity);
}
}
}

/// TODO
Expand All @@ -92,9 +90,7 @@ contract ERC721ACH is ERC721AC, IERC721ACH {
startTokenId,
quantity
);
} else {
super._afterTokenTransfers(from, to, startTokenId, quantity);
}
}
}


Expand Down

0 comments on commit ced89ed

Please sign in to comment.