Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fields are pub; once Hotshot tag 0.5.12 is out, will update type #13

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/block_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ impl<I: NodeType> Committable for HashableBlock<I> {
#[derive(Clone, Debug, Deserialize, Serialize, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[serde(bound = "")]
pub struct BlockMetadata<I: NodeType> {
block_hash: BlockHash<I>,
block_size: u64,
offered_fee: u64,
pub block_hash: BlockHash<I>,
pub block_size: u64,
pub offered_fee: u64,
_phantom: PhantomData<I>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This either needs to be pub as well, or there needs to be a constructor method

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a constructor...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll want to replace this block_metadata when merging in @move47's branch, but this one fixes the CI, so it might be nice to get it in.

}
Loading