Liquid Staking

Stakelink
DeFiHardhatOracle
50,000 USDC
View results
Submission Details
Severity: low
Invalid

Typo in PriorityPool.initialize Function Documentation

Typo in initialize Function Documentation - Audit Report


Summary

The initialize function contains a typo in the inline documentation for the _queueDepositMax parameter.


Vulnerability Details

In the inline documentation for the initialize function, the parameter _queueDepositMax has a typo:

@param _queueDepositMax mmaxin amount of tokens that can be deposited into the staking pool in a single tx

The word "mmaxin" should be corrected to "maximum."


Impact

Typos make code to look unprofessional


Tools Used

  • Manual review


Recommendations

  • Correct the typo by replacing "mmaxin" with "maximum":

@param _queueDepositMax maximum amount of tokens that can be deposited into the staking pool in a single tx
Updates

Lead Judging Commences

inallhonesty Lead Judge 10 months ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

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