Skip to content

Commit

Permalink
additional feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
tbenr committed Dec 5, 2024
1 parent 66dfac1 commit 4ac9262
Showing 1 changed file with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,13 +161,20 @@ private SignedAttestationProducer selectSignedAttestationProducer(final UInt64 s
.toVersionElectra()
.<SignedAttestationProducer>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<ProductionResult<Attestation>> signAttestationForValidatorInCommittee(
Expand Down

0 comments on commit 4ac9262

Please sign in to comment.