Skip to content

Commit

Permalink
Move delta hash test function to dev-context-utils (#151)
Browse files Browse the repository at this point in the history
move delta hash test function to dev-context-utils

Co-authored-by: HaoranYi <[email protected]>
  • Loading branch information
HaoranYi and HaoranYi authored Mar 8, 2024
1 parent 68be105 commit 1ac523c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7882,6 +7882,7 @@ impl AccountsDb {
///
/// As part of calculating the accounts delta hash, get a list of accounts modified this slot
/// (aka dirty pubkeys) and add them to `self.uncleaned_pubkeys` for future cleaning.
#[cfg(feature = "dev-context-only-utils")]
pub fn calculate_accounts_delta_hash(&self, slot: Slot) -> AccountsDeltaHash {
self.calculate_accounts_delta_hash_internal(slot, None, HashMap::default())
}
Expand Down

0 comments on commit 1ac523c

Please sign in to comment.