Skip to main content

epoch_matches_height

Function epoch_matches_height 

Source
pub(crate) fn epoch_matches_height<T: NodeType>(
    proposal: &Proposal<T>,
    epoch_height: u64,
) -> Result<(), MalformedProposal>
Expand description

The proposal’s epoch must be the one its block number falls in.