Skip to content

Commit

Permalink
More rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Nov 28, 2023
1 parent 5f3dce3 commit ce9c54b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/core/src/method_handler/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pub(crate) async fn call_client_method_internal(client: &Client, method: ClientM
Response::BlockMetadata(client.get_block_metadata(&block_id).await?)
}
ClientMethod::GetBlockWithMetadata { block_id } => {
Response::BlockFull(client.get_block_with_metadata(&block_id).await?)
Response::BlockWithMetadata(client.get_block_with_metadata(&block_id).await?)
}
ClientMethod::GetBlockRaw { block_id } => Response::Raw(client.get_block_raw(&block_id).await?),
ClientMethod::GetOutput { output_id } => Response::OutputWithMetadataResponse(
Expand Down
2 changes: 1 addition & 1 deletion bindings/core/src/response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub enum Response {
BlockMetadata(BlockMetadataResponse),
/// Response for:
/// - [`GetBlockWithMetadata`](crate::method::ClientMethod::GetBlockWithMetadata)
BlockFull(BlockWithMetadataResponse),
BlockWithMetadata(BlockWithMetadataResponse),
/// Response for:
/// - [`GetBlockRaw`](crate::method::ClientMethod::GetBlockRaw)
Raw(Vec<u8>),
Expand Down

0 comments on commit ce9c54b

Please sign in to comment.