This repository has been archived by the owner on May 5, 2024. It is now read-only.
unix515 - Invalid condition - mint will be not worked although native token is sufficient. #1
Labels
Excluded
Excluded by the judge without consulting the protocol or the senior
Non-Reward
This issue will not receive a payout
unix515
medium
Invalid condition - mint will be not worked although native token is sufficient.
Summary
Invalid condition - mint will be not worked although native token is sufficient.
Vulnerability Detail
If the msg.value is not strictly equal "quantity * PRICE", "premint" and "mint" will be not worked although the native token is sufficiently provided.
Impact
"premint" and "mint" will not be worked although msg.value is sufficiently provided..
Code Snippet
https://github.com/sherlock-audit/2023-10-looksrare/blob/main/contracts-infiltration/contracts/Infiltration.sol#L450
https://github.com/sherlock-audit/2023-10-looksrare/blob/main/contracts-infiltration/contracts/Infiltration.sol#L482
Tool used
Manual Review
Recommendation
Please correct the condition.
The text was updated successfully, but these errors were encountered: