mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 11:41:51 +00:00
Prune op pool on finalization
This commit is contained in:
@@ -1199,6 +1199,9 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
|
||||
self.fork_choice
|
||||
.process_finalization(&finalized_block, finalized_block_root)?;
|
||||
|
||||
self.op_pool
|
||||
.prune_all(&self.head().beacon_state, &self.spec);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user