Skip to content

Commit

Permalink
chore: remove guardian naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeday committed Mar 4, 2025
1 parent 93bffbc commit b098888
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contracts/0.8.25/vaults/StakingVault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import {IStakingVault} from "./interfaces/IStakingVault.sol";
* - `rebalance()`
* - `pauseBeaconChainDeposits()`
* - `resumeBeaconChainDeposits()`
* - Deposit Guardian:
* - Depositor:
* - `depositToBeaconChain()`
* - Operator:
* - `requestValidatorExit()`
Expand Down Expand Up @@ -147,6 +147,7 @@ contract StakingVault is IStakingVault, OwnableUpgradeable {
bytes calldata /* _params */
) external initializer {
if (_nodeOperator == address(0)) revert ZeroArgument("_nodeOperator");
if (_depositor == address(0)) revert ZeroArgument("_depositor");

__Ownable_init(_owner);
_getStorage().nodeOperator = _nodeOperator;
Expand Down

0 comments on commit b098888

Please sign in to comment.