diff --git a/beacon_node/beacon_chain/src/shuffling_cache.rs b/beacon_node/beacon_chain/src/shuffling_cache.rs index 3351fb70ab..5d7e666748 100644 --- a/beacon_node/beacon_chain/src/shuffling_cache.rs +++ b/beacon_node/beacon_chain/src/shuffling_cache.rs @@ -211,8 +211,8 @@ impl ShufflingCache { cached_shuffling: CachedShuffling, ) -> Result<(), BeaconChainError> { match self.cache.get(&key) { - Some(CacheItem::Committee(_existing)) => { - // What should we do? + Some(CacheItem::Committee(_)) => { + // Calculation is deterministic, so no need to replace the existing entry. } // Replace the committee if it's not present or if it's a promise. A bird in the hand is // worth two in the promise-bush!