From 53b1951056e7bd6ab38bf00f83cad0b3d5c4d49c Mon Sep 17 00:00:00 2001 From: brooks Date: Tue, 10 Sep 2024 17:45:10 -0400 Subject: [PATCH] Uses Offset in SlotOffsets --- accounts-db/src/accounts_db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts-db/src/accounts_db.rs b/accounts-db/src/accounts_db.rs index dcff28d0cfbb32..9842a6d9d4d0db 100644 --- a/accounts-db/src/accounts_db.rs +++ b/accounts-db/src/accounts_db.rs @@ -25,7 +25,7 @@ mod scan_account_storage; use qualifier_attr::qualifiers; use { crate::{ - account_info::{AccountInfo, StorageLocation}, + account_info::{AccountInfo, Offset, StorageLocation}, account_storage::{ meta::StoredAccountMeta, AccountStorage, AccountStorageStatus, ShrinkInProgress, }, @@ -822,7 +822,7 @@ pub type AtomicAccountsFileId = AtomicU32; pub type AccountsFileId = u32; type AccountSlots = HashMap>; -type SlotOffsets = IntMap>; +type SlotOffsets = IntMap>; type ReclaimResult = (AccountSlots, SlotOffsets); type PubkeysRemovedFromAccountsIndex = HashSet; type ShrinkCandidates = IntSet;