Update Prettier Solidity (#3898)
This commit is contained in:
@ -91,11 +91,7 @@ abstract contract ERC2981 is IERC2981, ERC165 {
|
||||
* - `receiver` cannot be the zero address.
|
||||
* - `feeNumerator` cannot be greater than the fee denominator.
|
||||
*/
|
||||
function _setTokenRoyalty(
|
||||
uint256 tokenId,
|
||||
address receiver,
|
||||
uint96 feeNumerator
|
||||
) internal virtual {
|
||||
function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
|
||||
require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
|
||||
require(receiver != address(0), "ERC2981: Invalid parameters");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user