pub fn on_block_finalized(&mut self, hash: &B::Hash, number: NumberFor<B>, protocol: &mut Context<B>) {
		if let Err(err) = self.justifications.on_block_finalized(
			hash,
			number,
			|base, block| protocol.client().is_descendent_of(base, block),
		) {
			warn!(target: "sync", "Error cleaning up pending justification requests: {:?}", err);
		};
	}
/// Notify about finalization of the given block.
Notify about finalization of the given block.
Notify about finalization of the given block .
pub fn on_block_finalized(&mut self, hash: &B::Hash, number: NumberFor<B>, protocol: &mut Context<B>) {
		if let Err(err) = self.justifications.on_block_finalized(
			hash,
			number,
			|base, block| protocol.client().is_descendent_of(base, block),
		) {
			warn!(target: "sync", "Error cleaning up pending justification requests: {:?}", err);
		};
	}
pub fn on_block_finalized ( & mut self , hash : & B :: Hash , number : NumberFor < B > , protocol : & mut Context < B > ) { if let Err ( err ) = self . justifications . on_block_finalized ( hash , number , | base , block | protocol . client ( ) . is_descendent_of ( base , block ) , ) { warn ! ( target " " " " err ) ; } ; }
Notify about finalization of the given block.
Notify about finalization of the given block .
&mut self
hash
&B::Hash
number
NumberFor<B>
protocol
&mut Context<B>
&mut self
hash
&B::Hash
number
NumberFor<B>
protocol
&mut Context<B>