Skip to content

Commit 480333f

Browse files
authored
Fix comments (#2684)
1 parent 8c3cf41 commit 480333f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

contracts/contracts/strategies/NativeStaking/CompoundingValidatorManager.sol

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ abstract contract CompoundingValidatorManager is Governable, Pausable {
125125
STAKED, // validator has funds staked
126126
VERIFIED, // validator has been verified to exist on the beacon chain
127127
ACTIVE, // The validator balance is at least 32 ETH. The validator may not yet be active on the beacon chain.
128-
EXITING, // The validator has been requested to exit or has been verified as forced exit
128+
EXITING, // The validator has been requested to exit
129129
EXITED, // The validator has been verified to have a zero balance
130130
REMOVED, // validator has funds withdrawn to this strategy contract and is removed from the SSV
131131
INVALID // The validator has been front-run and the withdrawal address is not this strategy
@@ -326,7 +326,7 @@ abstract contract CompoundingValidatorManager is Governable, Pausable {
326326
}
327327

328328
/// @notice Stakes WETH in this strategy to a compounding validator.
329-
/// The the first deposit to a new validator, the amount must be 1 ETH.
329+
/// The first deposit to a new validator, the amount must be 1 ETH.
330330
/// Another deposit of at least 31 ETH is required for the validator to be activated.
331331
/// This second deposit has to be done after the validator has been verified.
332332
/// Does not convert any ETH sitting in this strategy to WETH.
@@ -358,7 +358,7 @@ abstract contract CompoundingValidatorManager is Governable, Pausable {
358358
// Hash the public key using the Beacon Chain's hashing for BLSPubkey
359359
bytes32 pubKeyHash = _hashPubKey(validatorStakeData.pubkey);
360360
ValidatorState currentState = validator[pubKeyHash].state;
361-
// Can only stake to a validator has have been registered, verified or active.
361+
// Can only stake to a validator that has been registered, verified or active.
362362
// Can not stake to a validator that has been staked but not yet verified.
363363
require(
364364
(currentState == ValidatorState.REGISTERED ||

0 commit comments

Comments
 (0)