pub fn apply_finality(
		&self,
		operation: &mut ClientImportOperation<Block, Blake2Hasher, B>,
		id: BlockId<Block>,
		justification: Option<Justification>,
		notify: bool,
	) -> error::Result<()> {
		let last_best = self.backend.blockchain().info()?.best_hash;
		let to_finalize_hash = self.backend.blockchain().expect_block_hash_from_id(&id)?;
		self.apply_finality_with_block_hash(operation, to_finalize_hash, justification, last_best, notify)
	}
/// Mark all blocks up to given as finalized in operation. If a
/// justification is provided it is stored with the given finalized
/// block (any other finalized blocks are left unjustified).
Mark all blocks up to given as finalized in operation. If a
justification is provided it is stored with the given finalized
block (any other finalized blocks are left unjustified).
Mark all blocks up to given as finalized in operation . If a justification is provided it is stored with the given finalized block ( any other finalized blocks are left unjustified ) .
pub fn apply_finality(
		&self,
		operation: &mut ClientImportOperation<Block, Blake2Hasher, B>,
		id: BlockId<Block>,
		justification: Option<Justification>,
		notify: bool,
	) -> error::Result<()> {
		let last_best = self.backend.blockchain().info()?.best_hash;
		let to_finalize_hash = self.backend.blockchain().expect_block_hash_from_id(&id)?;
		self.apply_finality_with_block_hash(operation, to_finalize_hash, justification, last_best, notify)
	}
pub fn apply_finality ( & self , operation : & mut ClientImportOperation < Block , Blake2Hasher , B > , id : BlockId < Block > , justification : Option < Justification > , notify : bool , ) -> error :: Result < ( ) > { let last_best = self . backend . blockchain ( ) . info ( ) ? . best_hash ; let to_finalize_hash = self . backend . blockchain ( ) . expect_block_hash_from_id ( & id ) ? ; self . apply_finality_with_block_hash ( operation , to_finalize_hash , justification , last_best , notify ) }
Mark all blocks up to given as finalized in operation.
Mark all blocks up to given as finalized in operation .
&self
operation
&mut ClientImportOperation<Block, Blake2Hasher, B>
id
BlockId<Block>
justification
Option<Justification>
notify
bool
&self
operation
&mut ClientImportOperation<Block, Blake2Hasher, B>
id
BlockId<Block>
justification
Option<Justification>
notify
bool