diff --git a/gossip/src/cluster_info.rs b/gossip/src/cluster_info.rs index c90e1cdf3d..de0cd4d33f 100644 --- a/gossip/src/cluster_info.rs +++ b/gossip/src/cluster_info.rs @@ -860,7 +860,8 @@ impl ClusterInfo { (0..crds_value::MAX_EPOCH_SLOTS) .filter_map(|ix| { let label = CrdsValueLabel::EpochSlots(ix, self_pubkey); - let epoch_slots = gossip_crds.get::<&CrdsValue>(&label)?.epoch_slots()?; + let crds_value = gossip_crds.get::<&CrdsValue>(&label)?; + let epoch_slots = crds_value.epoch_slots()?; let first_slot = epoch_slots.first_slot()?; Some((epoch_slots.wallclock, first_slot, ix)) })