SantasList::buyPresent function and SantasList::collectPresent function do not emit any event. This may cause the user to not be able to know whether the transaction is successful or not and not able to view off-chain.
when the user calls SantasList::buyPresent function and SantasList::collectPresent function, the user will not be able to know whether the transaction is successful or not and not able to view off-chain. So, the user and off-chain application will not be able to know the transaction is successful or not.
Off-chain application and user will not be able to know the transaction is successful or not
Manual Review
Emit an event in buyPresent function and collectPresent function.
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.