Skip to content

Commit 62e6d5f

Browse files
committed
chore: use already calculated delta
1 parent 82df6c8 commit 62e6d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contracts/pods/EigenPodManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ contract EigenPodManager is
264264
}
265265
// If we have gone from negative to positive shares, return (0, positive delta)
266266
else if (prevDepositShares < 0) {
267-
return (0, uint256(prevDepositShares + sharesToAdd));
267+
return (0, uint256(updatedDepositShares));
268268
}
269269
// Else, return true previous shares and added shares
270270
else {

0 commit comments

Comments
 (0)