mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-19 13:58:28 +00:00
Fix tree-states sub-epoch diffs (#5097)
This commit is contained in:
@@ -106,7 +106,7 @@ where
|
||||
self.store_cold_state(&state_root, &state, &mut io_batch)?;
|
||||
|
||||
// If the slot lies on an epoch boundary, commit the batch and update the anchor.
|
||||
if slot % E::slots_per_epoch() == 0 || slot + 1 == upper_limit_slot {
|
||||
if self.hierarchy.should_commit_immediately(slot)? || slot + 1 == upper_limit_slot {
|
||||
info!(
|
||||
self.log,
|
||||
"State reconstruction in progress";
|
||||
|
||||
Reference in New Issue
Block a user