Description: The mint of the token takes place only if the else if statement is true as it can be seen in Soulmate.sol::mintSoulmateToken()
:
Impact: The first soulmate won't receive the NFT.
Proof of Concept: Add the following two lines to SulmateTest.t.sol::test_MintNewToken
:
Recommended Mitigation: Place the _mint()
function in the first part of the if as well.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.