_queueDepositMin
and _queueDepositMax
in PriorityPool::depositQueuedTokens
shadow the state variables queueDepositMin
and queueDepositMax
.
_queueDepositMin
and _queueDepositMax
in PriorityPool::depositQueuedTokens
are passed without any checks against the respective state variables queueDepositMin
and queueDepositMax
. There may be cases where the function PriorityPool::depositQueuedTokens
is called with a value of _queueDepositMin
less than queueDepositMin
and a value of _queueDepositMax
greater than queueDepositMax
.
Executing the depositQueuedTokens
function with any values of _queueDepositMin
and _queueDepositMax
without validation.
Add the following check:
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.