Function: withdrawRewards()
This function withdraws rewards from the validator pool.
Branches and code coverage
Intended branches
Call the
withdrawRewardsPOL
function on the validator pool if there are rewards to withdraw.Send tokens to the vault controller.