PriorityPool::getAccountIndex returns index 0 for account that doesnt exists leading to a wrong return value for integration and external UIs that queries PriorityPool contracts.
This function is not called in project code base and has external visibility so its intended to be called by external project and UIs
However this function returns 0 for accounts that doesnt exists, this could lead to wrong interactions with another contracts or external UIs
Integrity loss between this contract and integration, external UIs because wrong response index
Manual Review
Implement a revert if account not exists in accountIndexes
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.