From ce9c54b9892dfe8e0d00f1ed074faa6a010126f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thoralf=20M=C3=BCller?= Date: Tue, 28 Nov 2023 20:15:14 +0100 Subject: [PATCH] More rename --- bindings/core/src/method_handler/client.rs | 2 +- bindings/core/src/response.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bindings/core/src/method_handler/client.rs b/bindings/core/src/method_handler/client.rs index 3885389c68..cb9a955938 100644 --- a/bindings/core/src/method_handler/client.rs +++ b/bindings/core/src/method_handler/client.rs @@ -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( diff --git a/bindings/core/src/response.rs b/bindings/core/src/response.rs index 2fb8b60dc2..f664af65cc 100644 --- a/bindings/core/src/response.rs +++ b/bindings/core/src/response.rs @@ -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),