Skip to content

Commit

Permalink
Remove NOTE 1
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhu70 committed Apr 25, 2023
1 parent 9c1c0a5 commit ec89de8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtime/src/snapshot_package.rs
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@ impl AccountsPackage {

/// Returns the path to the snapshot links directory
///
/// NOTE 1: This path is within the TempDir created for the AccountsPackage, *not* the bank
/// snapshots dir passed into `new_for_snapshot()` when creating the AccountsPackage.
/// NOTE 2: This fn will panic if the AccountsPackage is of type EpochAccountsHash.
/// NOTE: This fn will panic if the AccountsPackage is of type EpochAccountsHash.
pub fn snapshot_links_dir(&self) -> &Path {
match self.package_type {
AccountsPackageType::AccountsHashVerifier | AccountsPackageType::Snapshot(..) => self
Expand Down

0 comments on commit ec89de8

Please sign in to comment.