Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidu28 committed Nov 29, 2023
1 parent b56976c commit 38dafc6
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/contracts/pods/EigenPod.sol
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,12 @@ contract EigenPod is IEigenPod, Initializable, ReentrancyGuardUpgradeable, Eigen
}


function turnOnPartialWithdrawalProofSwitch() external onlyEigenPodOwner {
partialWithdrawalProofSwitch = true;
function flipPartialWithdrawalProofSwitch() external onlyEigenPodOwner {
if(partialWithdrawalProofSwitch) {
partialWithdrawalProofSwitch = false;
} else {
partialWithdrawalProofSwitch = true;
}
}

/*******************************************************************************
Expand Down

0 comments on commit 38dafc6

Please sign in to comment.