Skip to content

Commit

Permalink
Add comment in SolanaGossipMananger::update_latest_full_snapshot_hash…
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored and jeffwashington committed Apr 14, 2023
1 parent 2ee7f7c commit 32c4240
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/snapshot_packager_service/snapshot_gossip_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ impl SnapshotGossipManager {
fn update_latest_full_snapshot_hash(&mut self, full_snapshot_hash: (Slot, SnapshotHash)) {
self.latest_snapshot_hashes = Some(LatestSnapshotHashes {
full: full_snapshot_hash,
// If we've gotten a new full snapshot, we know there cannot be any
// incremental snapshots yet (based on this full snapshot).
incremental: None,
});
}
Expand Down

0 comments on commit 32c4240

Please sign in to comment.