Skip to content

Commit 45efa98

Browse files
committed
Fix comments
1 parent 9f2eef7 commit 45efa98

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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
@@ -327,7 +327,7 @@ abstract contract CompoundingValidatorManager is Governable, Pausable {
327327
}
328328

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

0 commit comments

Comments
 (0)