tokens staked in private pools are locked and cannot be withdrawn
private pools are managed by the owner by calling the manageUsersInPrivatePool
function which then calls the function _withdraw
depending on the amount difference, however the function _withdraw(address user_, uint256 poolId_, uint256 amount_, uint256 currentPoolRate_)
only transferes tokens to the user if the pool is public
this means that tokens staked in private pools are locked and cannot be withdrawn
the impact of this finding is that tokens staked in private pools are locked and cannot be withdrawn
manual audit
change the lines
to
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.