Skip to content

Commit 8c3cf41

Browse files
authored
MAX_VERIFIED_VALIDATORS off by one (#2683)
1 parent 357ed56 commit 8c3cf41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contracts/contracts/strategies/NativeStaking/CompoundingValidatorManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ abstract contract CompoundingValidatorManager is Governable, Pausable {
381381
);
382382
// Limits the number of validator balance proofs to verifyBalances
383383
require(
384-
verifiedValidators.length + 1 < MAX_VERIFIED_VALIDATORS,
384+
verifiedValidators.length + 1 <= MAX_VERIFIED_VALIDATORS,
385385
"Max validators"
386386
);
387387

0 commit comments

Comments
 (0)