Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
vp4242 committed Feb 27, 2025
1 parent 7774e51 commit 0292510
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contracts/0.8.25/vaults/VaultHub.sol
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ contract VaultHub is PausableUntilWithRoles {

/// @notice Lido stETH contract
IStETH public immutable STETH;
address public immutable accounting;
address public immutable ACCOUNTING;

/// @param _stETH Lido stETH contract
/// @param _connectedVaultsLimit Maximum number of vaults that can be connected simultaneously
Expand All @@ -85,7 +85,7 @@ contract VaultHub is PausableUntilWithRoles {
if (_relativeShareLimitBP > TOTAL_BASIS_POINTS) revert RelativeShareLimitBPTooHigh(_relativeShareLimitBP, TOTAL_BASIS_POINTS);

STETH = _stETH;
accounting = _accounting;
ACCOUNTING = _accounting;
CONNECTED_VAULTS_LIMIT = _connectedVaultsLimit;
RELATIVE_SHARE_LIMIT_BP = _relativeShareLimitBP;

Expand Down Expand Up @@ -490,7 +490,7 @@ contract VaultHub is PausableUntilWithRoles {
uint256[] memory _locked,
uint256[] memory _treasureFeeShares
) external {
if (msg.sender != accounting) revert NotAuthorized("updateVaults", msg.sender);
if (msg.sender != ACCOUNTING) revert NotAuthorized("updateVaults", msg.sender);
VaultHubStorage storage $ = _getVaultHubStorage();

for (uint256 i = 0; i < _valuations.length; i++) {
Expand Down

0 comments on commit 0292510

Please sign in to comment.