Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vectorized committed Aug 27, 2024
1 parent a0a200a commit c48aa14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/ERC721A.sol
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ contract ERC721A is IERC721A {
uint256 toMasked = uint160(to);
// Disallow transfer to zero address.
if (toMasked == uint256(0)) _revert(TransferToZeroAddress.selector);
// Whether we need to check the individual token approvals.
// Whether `by` may transfer the tokens.
bool mayTransfer = _orERC721A(byMasked == uint256(0), byMasked == fromMasked) || isApprovedForAll(from, by);

// Early return if `tokenIds` is empty.
Expand Down

0 comments on commit c48aa14

Please sign in to comment.