Fix double advance-cache calls bug

This commit is contained in:
Paul Hauner 2019-03-27 10:35:21 +11:00
parent c82bad7602
commit b887509607
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -20,7 +20,6 @@ pub fn per_slot_processing(
if (state.slot + 1) % spec.slots_per_epoch == 0 {
per_epoch_processing(state, spec)?;
state.advance_caches();
}
state.slot += 1;