Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
antiochp committed Dec 5, 2019
1 parent 708335e commit 819e688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ pub struct OutputRoots {
impl OutputRoots {
/// The root of our output PMMR. The rules here are block height specific.
/// We use the merged root here for header version 3 and later.
/// We assume the header version is consistent with the block height and that this
/// has been validated elsewhere.
/// We assume header version is valid for the block height.
/// This is validated in pipe::validate_header().
pub fn root(&self, header: &BlockHeader) -> Hash {
if header.version < HeaderVersion(3) {
self.output_root()
Expand Down

0 comments on commit 819e688

Please sign in to comment.