mirror of
https://github.com/sigp/lighthouse.git
synced 2026-07-03 21:04:28 +00:00
Fix double advance-cache calls bug
This commit is contained in:
@@ -20,7 +20,6 @@ pub fn per_slot_processing(
|
|||||||
|
|
||||||
if (state.slot + 1) % spec.slots_per_epoch == 0 {
|
if (state.slot + 1) % spec.slots_per_epoch == 0 {
|
||||||
per_epoch_processing(state, spec)?;
|
per_epoch_processing(state, spec)?;
|
||||||
state.advance_caches();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
state.slot += 1;
|
state.slot += 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user