Skip to content

Commit

Permalink
Uses scan_pubkeys() in accounts_count() (#2943)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo committed Sep 18, 2024
1 parent 4d999b0 commit a196285
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 @@ -9472,7 +9472,7 @@ pub(crate) enum UpdateIndexThreadSelection {
impl AccountStorageEntry {
fn accounts_count(&self) -> usize {
let mut count = 0;
self.accounts.scan_accounts(|_| {
self.accounts.scan_pubkeys(|_| {
count += 1;
});
count
Expand Down

0 comments on commit a196285

Please sign in to comment.