Function: enableWithdrawals()
Function that enables the withdrawals.
Branches and code coverage (including function calls)
Intended branches
Set the
isWithdrawalsEnabled
totrue
.
Negative behavior
Should not allow to enable withdrawals if they are already enabled.
Should not allow anyone other than the
withdrawalsEnabler
to enable withdrawals.