FestivalPass:buyPass
causing misuse/misinterpretation.The parameter collectionId
in FestivalPass::buyPass()
is used to represent passId
, however it is named collectionId
instead of passId
.
The collectionId
refers to a unique identifier to a collection while passId
refers to pass type that the user want to buy.
Likelihood:
High
Impact:
Reduces code clarity and increases the chance of misuse or misinterpretation.
Inaccurate naming can mislead future developers or reviewers about the function’s actual behavior and input expectations.
N/A
Rename collectionId
to passId
to better reflect its purpose.
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.