using the two else blocks then the code returns
stakingPool::canWithdraw + totalQueued
if however the user staked is less than totalQueued then the actual return data should be
stakingPool::canWithdraw + getQueuedTokens(_account, _distributionAmount)
this represent how much the user can take from the stakingPool + how much they can take from the PriorityPool
wrong return data
manual analysis
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.