From aa48903fe5b7898db7bb49ac51c633112bd6c6d3 Mon Sep 17 00:00:00 2001 From: Himanshu Goyal Date: Thu, 29 Feb 2024 14:12:49 -0500 Subject: [PATCH] make blockHeaderInput --- src/block_info.rs | 2 +- src/data_source.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/block_info.rs b/src/block_info.rs index 4c58f78..4bcdaf3 100644 --- a/src/block_info.rs +++ b/src/block_info.rs @@ -30,7 +30,7 @@ pub struct AvailableBlockData { #[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Hash)] #[serde(bound = "")] -pub struct AvailableBlockHeader { +pub struct AvailableBlockHeaderInput { pub vid_commitment: ::Commit, pub signature: <::SignatureKey as SignatureKey>::PureAssembledSignatureType, pub sender: ::SignatureKey, diff --git a/src/data_source.rs b/src/data_source.rs index a678ad0..e2ac3e9 100644 --- a/src/data_source.rs +++ b/src/data_source.rs @@ -7,7 +7,7 @@ use hotshot_types::{ use tagged_base64::TaggedBase64; use crate::{ - block_info::{AvailableBlockData, AvailableBlockHeader, AvailableBlockInfo}, + block_info::{AvailableBlockData, AvailableBlockHeaderInput, AvailableBlockInfo}, builder::BuildError, }; @@ -31,7 +31,7 @@ where &self, block_hash: &BuilderCommitment, signature: &<::SignatureKey as SignatureKey>::PureAssembledSignatureType, - ) -> Result, BuildError>; + ) -> Result, BuildError>; } #[async_trait]