Skip to content
Snippets Groups Projects
Commit 1e9763cf authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Do not finalize parent twice (#12653)

If the parent block is alread finalized, we don't need to do this again.
parent 8aedd256
Branches
No related merge requests found
......@@ -656,7 +656,7 @@ where
// Ensure parent chain is finalized to maintain invariant that finality is called
// sequentially.
if finalized && parent_exists {
if finalized && parent_exists && info.finalized_hash != parent_hash {
self.apply_finality_with_block_hash(
operation,
parent_hash,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment