openzeppelin-contracts icon indicating copy to clipboard operation
openzeppelin-contracts copied to clipboard

update comment for _beforeTokenTransfer

Open hamiltoncyber opened this issue 3 years ago • 0 comments

This commit makes the comment clearer for ERC721Enumerable._beforeTokenTransfer() by combing its calling condition items 4) and 5) into one condition: from and 'to' cannot be the zero address at the same time.

hamiltoncyber avatar Jul 27 '22 14:07 hamiltoncyber