diff --git a/server/src/main/java/com/hedera/block/server/pbj/PbjBlockAccessServiceProxy.java b/server/src/main/java/com/hedera/block/server/pbj/PbjBlockAccessServiceProxy.java index 9445acee4..64b2bfee5 100644 --- a/server/src/main/java/com/hedera/block/server/pbj/PbjBlockAccessServiceProxy.java +++ b/server/src/main/java/com/hedera/block/server/pbj/PbjBlockAccessServiceProxy.java @@ -84,7 +84,7 @@ public Pipeline open( final var m = (BlockAccessMethod) method; return switch (m) { case singleBlock -> Pipelines.unary() - .mapRequest(bytes -> parseSingleBlockRequest(bytes, options)) + .mapRequest(bytes -> parseSingleBlockRequest(bytes)) .method(this::singleBlock) .mapResponse(reply -> createSingleBlockResponse(reply, options)) .respondTo(replies) @@ -143,8 +143,7 @@ SingleBlockResponseUnparsed singleBlock(SingleBlockRequest singleBlockRequest) { } @NonNull - private SingleBlockRequest parseSingleBlockRequest( - @NonNull final Bytes message, @NonNull final RequestOptions options) throws ParseException { + private SingleBlockRequest parseSingleBlockRequest(@NonNull final Bytes message) throws ParseException { return SingleBlockRequest.PROTOBUF.parse(message); }