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