remove _isApproedOrOwner in favor of _isApproved + refactor _checkOnERC721Received

This commit is contained in:
Hadrien Croubois
2023-07-12 10:01:30 +02:00
parent 7e9d024d08
commit 16f2f15673
2 changed files with 33 additions and 39 deletions

View File

@ -36,10 +36,7 @@ contract ERC721ConsecutiveEnumerableMock is ERC721Consecutive, ERC721Enumerable
return super._update(to, tokenId, operatorCheck);
}
function _increaseBalance(
address account,
uint256 amount
) internal virtual override(ERC721, ERC721Enumerable) {
function _increaseBalance(address account, uint256 amount) internal virtual override(ERC721, ERC721Enumerable) {
super._increaseBalance(account, amount);
}
}