You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In the 'certified' function of the CertifierHbbft contract, there is a commented out section that references a 'stakingContract'. This commented code suggests an incomplete or planned functionality related to the staking contract. The presence of commented code in a production contract can lead to confusion about the intended behaviour and may indicate unfinished or abandoned features.
Likelihood: Low
Description
In the 'certified' function of the CertifierHbbft contract, there is a commented out section that references a 'stakingContract'. This commented code suggests an incomplete or planned functionality related to the staking contract. The presence of commented code in a production contract can lead to confusion about the intended behaviour and may indicate unfinished or abandoned features.
The commented section is as follows:
Recommendation:
explaining the plan for this code.
implementation, and thoroughly test it.
confusion and potential security risks.
The text was updated successfully, but these errors were encountered: