From c30dd6f9c3e26fdbbcf21e2d9236fb1009a18f67 Mon Sep 17 00:00:00 2001 From: Michael Sproul Date: Tue, 19 May 2026 15:53:16 +1000 Subject: [PATCH] Update comment --- beacon_node/beacon_chain/src/shuffling_cache.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!