Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

Typo in the event

Summary

There is a typo in the event SetNetPassword

event SetNetPassword(); //@audit typo

Vulnerability Details

In the PasswordStore smart contract, there is a typographical error in the event declaration. The event SetNetPassword is misspelled and should be corrected to SetNewPassword for consistency and clarity.

Impact

This typo does not affect the functionality or security of the contract. However, it may cause confusion for developers reviewing or working with the codebase. Clear and accurate naming conventions contribute to better code readability and maintainability.

Tools Used

Manual Review

Recommendations

Correct the event declaration by replacing SetNetPassword with SetNewPassword to ensure clarity and maintain consistency in the codebase.

Here's the corrected code snippet

event SetNewPassword();
Updates

Lead Judging Commences

inallhonesty Lead Judge
almost 2 years ago
inallhonesty Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.