From 4ac92629ec3e99ddf9b303c45cf3199b14002159 Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Thu, 5 Dec 2024 16:51:39 +0100 Subject: [PATCH] additional feedback --- .../attestations/AttestationProductionDuty.java | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/validator/client/src/main/java/tech/pegasys/teku/validator/client/duties/attestations/AttestationProductionDuty.java b/validator/client/src/main/java/tech/pegasys/teku/validator/client/duties/attestations/AttestationProductionDuty.java index 2e4b3e11bd7..1f9661f660b 100644 --- a/validator/client/src/main/java/tech/pegasys/teku/validator/client/duties/attestations/AttestationProductionDuty.java +++ b/validator/client/src/main/java/tech/pegasys/teku/validator/client/duties/attestations/AttestationProductionDuty.java @@ -161,13 +161,20 @@ private SignedAttestationProducer selectSignedAttestationProducer(final UInt64 s .toVersionElectra() .map( schemaDefinitionsElectra -> - (a, b, c) -> + (attestationData, validator, signature) -> createSignedSingleAttestation( - schemaDefinitionsElectra.getSingleAttestationSchema(), a, b, c)) + schemaDefinitionsElectra.getSingleAttestationSchema(), + attestationData, + validator, + signature)) .orElseGet( () -> - (a, b, c) -> - createSignedAttestation(schemaDefinitions.getAttestationSchema(), a, b, c)); + (attestationData, validator, signature) -> + createSignedAttestation( + schemaDefinitions.getAttestationSchema(), + attestationData, + validator, + signature)); } private SafeFuture> signAttestationForValidatorInCommittee(