diff --git a/consensus/types/src/beacon_state.rs b/consensus/types/src/beacon_state.rs index 0583ce83f3..467224ba48 100644 --- a/consensus/types/src/beacon_state.rs +++ b/consensus/types/src/beacon_state.rs @@ -473,7 +473,7 @@ impl BeaconState { } pub fn historical_batch(&mut self) -> Result, Error> { - // FIXME(sproul): work out how to clean this up (internal mutability?) + // Updating before cloning makes the clone cheap and saves repeated hashing. self.block_roots_mut().apply_updates()?; self.state_roots_mut().apply_updates()?;