diff --git a/contracts/extension/PlatformFee.sol b/contracts/extension/PlatformFee.sol index b161122f5..d3152a7e5 100644 --- a/contracts/extension/PlatformFee.sol +++ b/contracts/extension/PlatformFee.sol @@ -19,12 +19,12 @@ abstract contract PlatformFee is IPlatformFee { /// @dev The % of primary sales collected as platform fees. uint16 private platformFeeBps; - /// @dev The flat amount collected by the contract as fees on primary sales. - uint256 private flatPlatformFee; - /// @dev Fee type variants: percentage fee and flat fee PlatformFeeType private platformFeeType; + /// @dev The flat amount collected by the contract as fees on primary sales. + uint256 private flatPlatformFee; + /// @dev Returns the platform fee recipient and bps. function getPlatformFeeInfo() public view override returns (address, uint16) { return (platformFeeRecipient, uint16(platformFeeBps)); @@ -90,7 +90,7 @@ abstract contract PlatformFee is IPlatformFee { if (!_canSetPlatformFeeInfo()) { revert("Not authorized"); } - _setupPlatformFeeType(_feeType) + _setupPlatformFeeType(_feeType); } /// @dev Sets platform fee type.