chore(engine): remove find_canonical_ancestor (#7716)

This commit is contained in:
Roman Krasiuk
2024-04-18 21:45:16 +02:00
committed by GitHub
parent 18725f1425
commit 1a61d29afd
6 changed files with 6 additions and 52 deletions

View File

@ -714,10 +714,6 @@ where
self.tree.canonical_blocks()
}
fn find_canonical_ancestor(&self, hash: BlockHash) -> Option<BlockHash> {
self.tree.find_canonical_ancestor(hash)
}
fn is_canonical(&self, hash: BlockHash) -> Result<bool, ProviderError> {
self.tree.is_canonical(hash)
}