Description
The registerCharity function allows users to register a charity by adding its address to the registeredCharities mapping. However, there is currently no event emitted to log this registration. Emitting an event is important for tracking charity registrations on the blockchain.
Code Snippet
Recommendation
Add an event declaration for charity registrations and emit this event within the registerCharity function after successfully registering the charity. This will provide a clear log of charity registrations 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.