Skip to content

Commit 1ac523c

Browse files
HaoranYiHaoranYi
and
HaoranYi
authored
Move delta hash test function to dev-context-utils (solana-labs#151)
move delta hash test function to dev-context-utils Co-authored-by: HaoranYi <[email protected]>
1 parent 68be105 commit 1ac523c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

accounts-db/src/accounts_db.rs

+1
Original file line numberDiff line numberDiff line change
@@ -7882,6 +7882,7 @@ impl AccountsDb {
78827882
///
78837883
/// As part of calculating the accounts delta hash, get a list of accounts modified this slot
78847884
/// (aka dirty pubkeys) and add them to `self.uncleaned_pubkeys` for future cleaning.
7885+
#[cfg(feature = "dev-context-only-utils")]
78857886
pub fn calculate_accounts_delta_hash(&self, slot: Slot) -> AccountsDeltaHash {
78867887
self.calculate_accounts_delta_hash_internal(slot, None, HashMap::default())
78877888
}

0 commit comments

Comments
 (0)