consensus: remove incorrect comment
The ZcashDeserialize implementation for Block doesn't check that blocks have a coinbase height.
This commit is contained in:
parent
2f53ff44f7
commit
d5d17a9a71
|
@ -138,9 +138,6 @@ where
|
||||||
_ => unreachable!("wrong response to Request::Depth"),
|
_ => 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
|
let height = block
|
||||||
.coinbase_height()
|
.coinbase_height()
|
||||||
.ok_or(BlockError::MissingHeight(hash))?;
|
.ok_or(BlockError::MissingHeight(hash))?;
|
||||||
|
|
Loading…
Reference in New Issue