Skip to content

Commit

Permalink
Uses NoHashHasher in AccountsDb::dirty_stores (#4324)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 7, 2025
1 parent a75585e commit d3a7c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts-db/src/accounts_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1574,7 +1574,7 @@ pub struct AccountsDb {
/// Set of stores which are recently rooted or had accounts removed
/// such that potentially a 0-lamport account update could be present which
/// means we can remove the account from the index entirely.
dirty_stores: DashMap<Slot, Arc<AccountStorageEntry>>,
dirty_stores: DashMap<Slot, Arc<AccountStorageEntry>, BuildNoHashHasher<Slot>>,

/// Zero-lamport accounts that are *not* purged during clean because they need to stay alive
/// for incremental snapshot support.
Expand Down

0 comments on commit d3a7c5a

Please sign in to comment.