Skip to content

Commit

Permalink
just use Ok while sending data over grpc stream instead of type casti…
Browse files Browse the repository at this point in the history
…ng to Result
  • Loading branch information
bharath-123 committed Oct 23, 2024
1 parent 913af35 commit 4bb4ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/astria-sequencer/src/grpc/optimistic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ impl OptimisticBlockService for OptimisticBlockServer {
};

match tx
.send(Result::<_, Status>::Ok(
.send(Ok(
get_optimistic_block_stream_response,
))
.await
Expand Down Expand Up @@ -137,7 +137,7 @@ impl OptimisticBlockService for OptimisticBlockServer {
};

match tx
.send(Result::<_, Status>::Ok(
.send(Ok(
get_block_commitment_stream_response,
))
.await
Expand Down

0 comments on commit 4bb4ca0

Please sign in to comment.