diff --git a/beacon_node/beacon_chain/src/beacon_chain.rs b/beacon_node/beacon_chain/src/beacon_chain.rs index 0c053b14e..c5c5c9052 100644 --- a/beacon_node/beacon_chain/src/beacon_chain.rs +++ b/beacon_node/beacon_chain/src/beacon_chain.rs @@ -5428,7 +5428,7 @@ impl BeaconChain { self.epoch().ok().map(|current_epoch| { std::cmp::max( fork_epoch, - current_epoch - *MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS, + current_epoch.saturating_sub(*MIN_EPOCHS_FOR_BLOBS_SIDECARS_REQUESTS), ) }) })