consensus: remove incorrect comment

The ZcashDeserialize implementation for Block doesn't check that blocks
have a coinbase height.
This commit is contained in:
Henry de Valence 2020-11-12 11:08:20 -08:00
parent 2f53ff44f7
commit d5d17a9a71
1 changed files with 0 additions and 3 deletions

View File

@ -138,9 +138,6 @@ where
_ => unreachable!("wrong response to Request::Depth"),
}
// We repeat the height checks here, to ensure that generated blocks
// are valid. (We check the block heights for parsed blocks when we
// deserialize them.)
let height = block
.coinbase_height()
.ok_or(BlockError::MissingHeight(hash))?;