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 9a46869 commit f3f566bCopy full SHA for f3f566b
contracts/prebuilts/open-edition/OpenEditionERC721.sol
@@ -164,6 +164,7 @@ contract OpenEditionERC721 is
164
platformFeeRecipient = recipient;
165
platformFees = ((totalPrice * platformFeeBps) / MAX_BPS);
166
}
167
+ require(totalPrice >= platformFees, "price less than platform fee");
168
169
bool validMsgValue;
170
if (_currency == CurrencyTransferLib.NATIVE_TOKEN) {
0 commit comments