Description
The verifyCharity function allows the admin to verify a registered charity by adding its address to the verifiedCharities mapping. However, there is currently no event emitted to log this verification. Emitting an event is crucial for tracking charity verifications on the blockchain.
Code Snippet
Recommendation
Add an event declaration for charity verifications and emit this event within the verifyCharity function after successfully verifying the charity. This will provide a clear log of charity verifications on the blockchain.
Code Snippet
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.