fn next_height(&self, state: &State<C>) -> u64 {
        // In a trillion years, we need to make block height u128.
        #[allow(clippy::integer_arithmetic)]
        let height_plus_1 = |bhash| state.block(bhash).height + 1;
        self.last_finalized.as_ref().map_or(0, height_plus_1)
    }
/// Returns the height of the next block that will be finalized.
Returns the height of the next block that will be finalized.
Returns the height of the next block that will be finalized .
fn next_height(&self, state: &State<C>) -> u64 {
        // In a trillion years, we need to make block height u128.
        #[allow(clippy::integer_arithmetic)]
        let height_plus_1 = |bhash| state.block(bhash).height + 1;
        self.last_finalized.as_ref().map_or(0, height_plus_1)
    }
fn next_height ( & self , state : & State < C > ) -> u64 { // In a trillion years, we need to make block height u128. # [ allow ( clippy integer_arithmetic ) ] let height_plus_1 = | bhash | state . block ( bhash ) . height + 1 ; self . last_finalized . as_ref ( ) . map_or ( 0 , height_plus_1 ) }
Returns the height of the next block that will be finalized.
Returns the height of the next block that will be finalized .
&self
state
&State<C>
&self
state
&State<C>