The createEstate
function returns the incorrect variable uint256 itemID
instead of ID
.
The function defines ID
as a _incrementCounter for minting an NFT but declares itemID
as the return variable. However, itemID
is never assigned a value, and the function directly returns ID
, leading to an inconsistency in the function signature.
Incorrect return value
Misleading developers and users
Manual review
Fixed code:
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.