diff --git a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/electra/block/BlockProcessorElectra.java b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/electra/block/BlockProcessorElectra.java index 82588594732..f23d9709d80 100644 --- a/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/electra/block/BlockProcessorElectra.java +++ b/ethereum/spec/src/main/java/tech/pegasys/teku/spec/logic/versions/electra/block/BlockProcessorElectra.java @@ -241,7 +241,7 @@ public void processWithdrawalRequests( withdrawalRequest.getAmount().equals(FULL_EXIT_REQUEST_AMOUNT); final boolean partialWithdrawalsQueueFull = state.toVersionElectra().orElseThrow().getPendingPartialWithdrawals().size() - >= specConfigElectra.getPendingPartialWithdrawalsLimit(); + == specConfigElectra.getPendingPartialWithdrawalsLimit(); if (partialWithdrawalsQueueFull && !isFullExitRequest) { LOG.debug("process_withdrawal_request: partial withdrawal queue is full"); return; @@ -322,8 +322,8 @@ public void processWithdrawalRequests( beaconStateMutators.initiateValidatorExit( state, validatorIndex, validatorExitContextSupplier); - return; } + return; } final UInt64 validatorBalance = state.getBalances().get(validatorIndex).get();