Skip to content

Commit

Permalink
Removes AccountsFile::is_recyclable() (solana-labs#359)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Mar 21, 2024
1 parent 4d838d5 commit 8b66a67
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions accounts-db/src/accounts_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ impl AccountsFile {
}
}

pub fn is_recyclable(&self) -> bool {
match self {
Self::AppendVec(_) => true,
}
}

pub fn file_name(slot: Slot, id: impl std::fmt::Display) -> String {
format!("{slot}.{id}")
}
Expand Down

0 comments on commit 8b66a67

Please sign in to comment.