Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
gpsanant committed Sep 20, 2024
1 parent f218a57 commit ba5b239
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/contracts/core/DelegationManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -774,17 +774,6 @@ contract DelegationManager is
depositScalingFactors[staker][strategy] = newDepositScalingFactor;
}

/**
* @notice depositScalingFactor should be initialized and lower bounded to 1e18
*/
function _depositScalingFactor(address staker, IStrategy strategy) internal view returns (uint256) {
uint256 currDepositScalingFactor = depositScalingFactors[staker][strategy];
if (currDepositScalingFactor == 0) {
currDepositScalingFactor = WAD;
}
return currDepositScalingFactor;
}

function _getShareManager(
IStrategy strategy
) internal view returns (IShareManager) {
Expand Down

0 comments on commit ba5b239

Please sign in to comment.