Skip to content

Commit 0c7a702

Browse files
committed
fix: comments
1 parent 178d5cf commit 0c7a702

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/contracts/pods/EigenPodManager.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,11 @@ contract EigenPodManager is
262262
if (updatedDepositShares <= 0) {
263263
return (0, 0);
264264
}
265-
// If we have gone negative to posiive shares, return the delta
265+
// If we have gone from negative to positive shares, return (0, positive delta)
266266
else if (prevDepositShares < 0) {
267267
return (0, uint256(prevDepositShares + sharesToAdd));
268268
}
269-
// Return the shares added
269+
// Else, return true previous shares and added shares
270270
else {
271271
return (uint256(prevDepositShares), shares);
272272
}

0 commit comments

Comments
 (0)