We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2568498 commit 17c10d4Copy full SHA for 17c10d4
contracts/extension/upgradeable/RoyaltyPayments.sol
@@ -68,7 +68,7 @@ abstract contract RoyaltyPaymentsLogic is IRoyaltyPayments {
68
69
if (royaltyEngineAddress == address(0)) {
70
try IERC2981(tokenAddress).royaltyInfo(tokenId, value) returns (address recipient, uint256 amount) {
71
- require(amount < value, "Invalid royalty amount");
+ require(amount <= value, "Invalid royalty amount");
72
73
recipients = new address payable[](1);
74
amounts = new uint256[](1);
0 commit comments