diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/GetAttesterSlashings.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/GetAttesterSlashings.java index 28b686123ad..9eff8722f44 100644 --- a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/GetAttesterSlashings.java +++ b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/GetAttesterSlashings.java @@ -64,7 +64,8 @@ private static SerializableTypeDefinition> getResponseTyp final IndexedAttestation.IndexedAttestationSchema indexedAttestationSchema = new IndexedAttestation.IndexedAttestationSchema(spec.getGenesisSpecConfig()); final AttesterSlashing.AttesterSlashingSchema attesterSlashingSchema = - new AttesterSlashing.AttesterSlashingSchema(indexedAttestationSchema.castTypeToIndexedAttestationContainer()); + new AttesterSlashing.AttesterSlashingSchema( + indexedAttestationSchema.castTypeToIndexedAttestationContainer()); return SerializableTypeDefinition.>object() .name("GetPoolAttesterSlashingsResponse") diff --git a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostAttesterSlashing.java b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostAttesterSlashing.java index 06063aad214..0bdcc5f7b94 100644 --- a/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostAttesterSlashing.java +++ b/data/beaconrestapi/src/main/java/tech/pegasys/teku/beaconrestapi/handlers/v1/beacon/PostAttesterSlashing.java @@ -83,7 +83,8 @@ private static DeserializableTypeDefinition getRequestType( final IndexedAttestation.IndexedAttestationSchema indexedAttestationSchema = new IndexedAttestation.IndexedAttestationSchema(specConfig); final AttesterSlashing.AttesterSlashingSchema attesterSlashingSchema = - new AttesterSlashing.AttesterSlashingSchema(indexedAttestationSchema.castTypeToIndexedAttestationContainer()); + new AttesterSlashing.AttesterSlashingSchema( + indexedAttestationSchema.castTypeToIndexedAttestationContainer()); return attesterSlashingSchema.getJsonTypeDefinition(); }