Missing emit of initial SetAdmin
event in MainToken.__init__()
#78
Labels
0 (Non-critical)
Code style, clarity, syntax, versioning, off-chain monitoring (events etc), exclude gas optimisation
bug
Something isn't working
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Handle
pants
Vulnerability details
The function
MainToken.__init__()
(the constructor) sets the initial admin, but it doesn't emit an appropriateSetAdmin
event.Impact
The users won't know who's the initial admin by searching for the first
SetAdmin
event, although they should be able to.Tool Used
Manual code review.
Recommended Mitigation Steps
Emit this event.
The text was updated successfully, but these errors were encountered: