diff --git a/core/store/src/trie/prefetching_trie_storage.rs b/core/store/src/trie/prefetching_trie_storage.rs index d4bc19ec7e5..4c21f291990 100644 --- a/core/store/src/trie/prefetching_trie_storage.rs +++ b/core/store/src/trie/prefetching_trie_storage.rs @@ -326,14 +326,14 @@ impl PrefetchStagingArea { // `Done` is the result after a successful prefetch. // `PendingFetch` means the value has been read without a prefetch. // `None` means prefetching was stopped due to memory limits. - debug_assert!( - dropped.is_none() - || prefetch_state_matches( - PrefetchSlot::Done(Arc::new([])), - dropped.as_ref().unwrap() - ) - || prefetch_state_matches(PrefetchSlot::PendingFetch, dropped.as_ref().unwrap()), - ); + // debug_assert!( + // dropped.is_none() + // || prefetch_state_matches( + // PrefetchSlot::Done(Arc::new([])), + // dropped.as_ref().unwrap() + // ) + // || prefetch_state_matches(PrefetchSlot::PendingFetch, dropped.as_ref().unwrap()), + // ); } /// Block until value is prefetched and then return it.