Skip to content

Commit

Permalink
make blockHeaderInput
Browse files Browse the repository at this point in the history
  • Loading branch information
move47 committed Feb 29, 2024
1 parent 46a41ce commit aa48903
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/block_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub struct AvailableBlockData<I: NodeType> {

#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, Hash)]
#[serde(bound = "")]
pub struct AvailableBlockHeader<I: NodeType> {
pub struct AvailableBlockHeaderInput<I: NodeType> {
pub vid_commitment: <VidScheme as VidSchemeTrait>::Commit,
pub signature: <<I as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType,
pub sender: <I as NodeType>::SignatureKey,
Expand Down
4 changes: 2 additions & 2 deletions src/data_source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand All @@ -31,7 +31,7 @@ where
&self,
block_hash: &BuilderCommitment,
signature: &<<I as NodeType>::SignatureKey as SignatureKey>::PureAssembledSignatureType,
) -> Result<AvailableBlockHeader<I>, BuildError>;
) -> Result<AvailableBlockHeaderInput<I>, BuildError>;
}

#[async_trait]
Expand Down

0 comments on commit aa48903

Please sign in to comment.