mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-29 17:18:08 -05:00
fix(consensus): call finalize_block when finalized block changes. (#3731)
This commit is contained in:
@@ -846,6 +846,7 @@ where
|
||||
.ok_or_else(|| {
|
||||
Error::Provider(ProviderError::UnknownBlockHash(finalized_block_hash))
|
||||
})?;
|
||||
self.blockchain.finalize_block(finalized.number);
|
||||
self.blockchain.set_finalized(finalized.header.seal(finalized_block_hash));
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user