Lines of impacted code:
It is possible for the contract owner to accidentally/deliberately set a value for queueDepositMin which is greater than queueDepositMax or a value queueDepositMax which is less than queueDepositMin. If this happens then this will break many function's logic of PriorityPool contract including _depositQueuedTokens.
Incorrect value of queueDepositMin and queueDepositMax might break PriorityPool contract logic.
Manual
Add a value check, something like:
require(_queueDepositMin> 0 && _queueDepositMax > _queueDepositMin);
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.