Skip to content

Commit

Permalink
fix: use mutable validator object (#6774)
Browse files Browse the repository at this point in the history
Use mutable validator object
  • Loading branch information
ensi321 authored and g11tech committed Jul 30, 2024
1 parent f8c51fa commit ab58d13
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export function processExecutionLayerWithdrawalRequest(
return;
}

const validator = validators.getReadonly(validatorIndex);
const validator = validators.get(validatorIndex);
if (!isValidatorEligibleForWithdrawOrExit(validator, executionLayerWithdrawalRequest.sourceAddress, state)) {
return;
}
Expand Down

0 comments on commit ab58d13

Please sign in to comment.