diff --git a/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/RemoteValidatorApiHandler.java b/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/RemoteValidatorApiHandler.java index bbf14976976..681ee26a100 100644 --- a/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/RemoteValidatorApiHandler.java +++ b/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/RemoteValidatorApiHandler.java @@ -320,10 +320,7 @@ public SafeFuture> createAggregate( .map(ObjectAndMetaData::getData)); } - return sendRequest( - () -> - typeDefClient - .createAggregate(slot, attestationHashTreeRoot)); + return sendRequest(() -> typeDefClient.createAggregate(slot, attestationHashTreeRoot)); } @Override diff --git a/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/typedef/OkHttpValidatorTypeDefClient.java b/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/typedef/OkHttpValidatorTypeDefClient.java index 5fb5acf4879..29fb277f628 100644 --- a/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/typedef/OkHttpValidatorTypeDefClient.java +++ b/validator/remote/src/main/java/tech/pegasys/teku/validator/remote/typedef/OkHttpValidatorTypeDefClient.java @@ -263,17 +263,17 @@ public void prepareBeaconProposer( } public Optional createAggregate( - final UInt64 slot, final Bytes32 attestationHashTreeRoot) { + final UInt64 slot, final Bytes32 attestationHashTreeRoot) { final CreateAggregateAttestationRequest createAggregateAttestationRequest = - new CreateAggregateAttestationRequest(getBaseEndpoint(), getOkHttpClient(), slot, spec); + new CreateAggregateAttestationRequest(getBaseEndpoint(), getOkHttpClient(), slot, spec); return createAggregateAttestationRequest.createAggregate(attestationHashTreeRoot); } public Optional> createAggregateV2( - final UInt64 slot, final Bytes32 attestationHashTreeRoot, final UInt64 committeeIndex) { + final UInt64 slot, final Bytes32 attestationHashTreeRoot, final UInt64 committeeIndex) { CreateAggregateAttestationRequestV2 createAggregateAttestationRequestV2 = - new CreateAggregateAttestationRequestV2(getBaseEndpoint(), getOkHttpClient(), spec, slot); + new CreateAggregateAttestationRequestV2(getBaseEndpoint(), getOkHttpClient(), spec, slot); return createAggregateAttestationRequestV2.createAggregate( - attestationHashTreeRoot, committeeIndex); + attestationHashTreeRoot, committeeIndex); } }