From dda7afc0aa4bdfe77429d15d670e9851c49f5c90 Mon Sep 17 00:00:00 2001 From: Matt Bell Date: Mon, 2 Dec 2019 13:08:25 -0800 Subject: [PATCH] Made Height field public --- tendermint/src/block/height.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tendermint/src/block/height.rs b/tendermint/src/block/height.rs index f7af57bb3..66c9ea1da 100644 --- a/tendermint/src/block/height.rs +++ b/tendermint/src/block/height.rs @@ -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()`