diff --git a/history/src/block_stores/multiple_strategy_block_store.rs b/history/src/block_stores/multiple_strategy_block_store.rs index 563c1f32..b4eac1c9 100644 --- a/history/src/block_stores/multiple_strategy_block_store.rs +++ b/history/src/block_stores/multiple_strategy_block_store.rs @@ -179,7 +179,8 @@ impl BlockStorageInterface for MultipleStrategyBlockStorage { let persistent_storage_range = self.persistent_block_storage.get_slot_range().await; // x------ // |------x - if lower - persistent_storage_range.end() <= 1 { + let gap = lower - persistent_storage_range.end() - 1 ; + if !gap > 0 { // move the lower bound to the left lower = lower.min(*persistent_storage_range.start()); }