Skip to content

Commit 761bbc7

Browse files
authored
Introduce scan_stored_accounts_no_data method to AppendVec (anza-xyz#5643)
Add scan_stored_accounts_no_data method to AppendVec
1 parent d0eece6 commit 761bbc7

File tree

2 files changed

+207
-124
lines changed

2 files changed

+207
-124
lines changed

accounts-db/src/account_storage/meta.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,6 @@ impl<'storage> StoredAccountMeta<'storage> {
7777
Self::Hot(_) => unreachable!(),
7878
}
7979
}
80-
81-
pub(crate) fn sanitize(&self) -> bool {
82-
match self {
83-
Self::AppendVec(av) => av.sanitize(),
84-
// Hot account currently doesn't have the concept of sanitization.
85-
Self::Hot(_) => unimplemented!(),
86-
}
87-
}
8880
}
8981

9082
impl ReadableAccount for StoredAccountMeta<'_> {

0 commit comments

Comments
 (0)