chore(tree): accept owned block hash in make_canonical instead of ref (#7465)

This commit is contained in:
Roman Krasiuk
2024-04-04 21:39:30 +02:00
committed by GitHub
parent 67558db6f3
commit 57e25be058
6 changed files with 40 additions and 40 deletions

View File

@ -669,7 +669,7 @@ where
self.tree.connect_buffered_blocks_to_canonical_hashes()
}
fn make_canonical(&self, block_hash: &BlockHash) -> Result<CanonicalOutcome, CanonicalError> {
fn make_canonical(&self, block_hash: BlockHash) -> Result<CanonicalOutcome, CanonicalError> {
self.tree.make_canonical(block_hash)
}