Skip to content

Commit

Permalink
Made Height field public
Browse files Browse the repository at this point in the history
  • Loading branch information
mappum committed Dec 2, 2019
1 parent d273b93 commit 9d7a314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tendermint/src/block/height.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use std::{
///
/// A height of 0 represents a chain which has not yet produced a block.
#[derive(Copy, Clone, Eq, Hash, PartialEq, PartialOrd, Ord)]
pub struct Height(u64);
pub struct Height(pub u64);

impl Height {
/// Get inner integer value. Alternative to `.0` or `.into()`
Expand Down

0 comments on commit 9d7a314

Please sign in to comment.