@@ -129,7 +129,11 @@ contract DelegationManager is
129129 address operator ,
130130 SignatureWithExpiry memory approverSignatureAndExpiry ,
131131 bytes32 approverSalt
132+ <<<<<<< HEAD
132133 ) public nonReentrant {
134+ =======
135+ ) public {
136+ >>>>>>> 337b1b66 (refactor: final slashing cleanup (#982 ))
133137 require (! isDelegated (msg .sender ), ActivelyDelegated ());
134138 require (isOperator (operator), OperatorNotRegistered ());
135139
@@ -148,7 +152,11 @@ contract DelegationManager is
148152 /// @inheritdoc IDelegationManager
149153 function undelegate (
150154 address staker
155+ <<<<<<< HEAD
151156 ) public nonReentrant returns (bytes32 [] memory withdrawalRoots ) {
157+ =======
158+ ) public returns (bytes32 [] memory withdrawalRoots ) {
159+ >>>>>>> 337b1b66 (refactor: final slashing cleanup (#982 ))
152160 // Check that the `staker` can undelegate
153161 require (isDelegated (staker), NotActivelyDelegated ());
154162 require (! isOperator (staker), OperatorsCannotUndelegate ());
@@ -569,7 +577,11 @@ contract DelegationManager is
569577 // Remove the withdrawal from the queue. Note that for legacy withdrawals, the removals
570578 // from `_stakerQueuedWithdrawalRoots` and `queuedWithdrawals` will no-op.
571579 _stakerQueuedWithdrawalRoots[withdrawal.staker].remove (withdrawalRoot);
580+ <<<<<<< HEAD
572581 delete _queuedWithdrawals[withdrawalRoot];
582+ =======
583+ delete queuedWithdrawals[withdrawalRoot];
584+ >>>>>>> 337b1b66 (refactor: final slashing cleanup (#982 ))
573585 delete pendingWithdrawals[withdrawalRoot];
574586 emit SlashingWithdrawalCompleted (withdrawalRoot);
575587
@@ -977,6 +989,13 @@ contract DelegationManager is
977989 (withdrawal, shares) = _getSharesByWithdrawalRoot (withdrawalRoot);
978990 }
979991
992+ /// @inheritdoc IDelegationManager
993+ function getQueuedWithdrawal (
994+ bytes32 withdrawalRoot
995+ ) external view returns (Withdrawal memory ) {
996+ return queuedWithdrawals[withdrawalRoot];
997+ }
998+
980999 /// @inheritdoc IDelegationManager
9811000 function getQueuedWithdrawals (
9821001 address staker
0 commit comments