Skip to content

Commit

Permalink
Spotless changes
Browse files Browse the repository at this point in the history
  • Loading branch information
courtneyeh committed Oct 25, 2023
1 parent 542b132 commit b87290b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,16 @@ public SafeFuture<DutyResult> produceBlock(final ForkInfo forkInfo) {
return createRandaoReveal(forkInfo)
.thenCompose(
signature ->
validatorDutyMetrics.record(() -> createUnsignedBlock(signature), dutyType, "create"))
validatorDutyMetrics.record(
() -> createUnsignedBlock(signature), dutyType, "create"))
.thenCompose(
unsignedBlock ->
validatorDutyMetrics.record(
() -> signBlockContainer(forkInfo, unsignedBlock), dutyType, "sign"))
.thenCompose(
signedBlockContainer ->
validatorDutyMetrics.record(() -> sendBlock(signedBlockContainer), dutyType, "send"))
validatorDutyMetrics.record(
() -> sendBlock(signedBlockContainer), dutyType, "send"))
.exceptionally(error -> DutyResult.forError(validator.getPublicKey(), error));
}

Expand Down

0 comments on commit b87290b

Please sign in to comment.