mintLegendaryGobbler() can burn unreveal Gobbler, lead to loss emissionMultiple #159
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Lines of code
https://github.com/code-423n4/2022-09-artgobblers/blob/d2087c5a8a6a4f1b9784520e7fe75afa3a9cbdbe/src/ArtGobblers.sol#L435
Vulnerability details
Impact
when Gobbler unreveal , Gobbler.emissionMultiple==0,mintLegendaryGobbler() does not prevent burn unrevealed Gobbler, which will result in the loss emissionMultiple
Proof of Concept
Tools Used
Recommended Mitigation Steps
The text was updated successfully, but these errors were encountered: