diff --git a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/performance/DefaultPerformanceTracker.java b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/performance/DefaultPerformanceTracker.java index 11ab361b629..c981b8a6f52 100644 --- a/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/performance/DefaultPerformanceTracker.java +++ b/beacon/validator/src/main/java/tech/pegasys/teku/validator/coordinator/performance/DefaultPerformanceTracker.java @@ -307,7 +307,8 @@ private AttestationPerformance calculateAttestationPerformance( // data hash to inclusion slot to aggregation bitlist final Map> slotAndBitlistsByAttestationDataHash = new HashMap<>(); - for (final Map.Entry> entry : attestationsIncludedOnChain.entrySet()) { + for (final Map.Entry> entry : + attestationsIncludedOnChain.entrySet()) { for (final Attestation attestation : entry.getValue()) { final Optional committeesSize = getCommitteesSize(attestation, state); final Bytes32 attestationDataHash = attestation.getData().hashTreeRoot(); @@ -373,11 +374,12 @@ private AttestationPerformance calculateAttestationPerformance( analyzedEpoch, validatorTracker.getNumberOfValidatorsForEpoch(analyzedEpoch)); } - private Optional getCommitteesSize(final Attestation attestation, final BeaconState state) { - if(!attestation.requiresCommitteeBits()) { + private Optional getCommitteesSize( + final Attestation attestation, final BeaconState state) { + if (!attestation.requiresCommitteeBits()) { return Optional.empty(); } - return Optional.of(spec.getBeaconCommitteesSize(state, attestation.getData().getSlot())); + return Optional.of(spec.getBeaconCommitteesSize(state, attestation.getData().getSlot())); } private SafeFuture> getBlocksInEpochs(