size and per-bin stats (#19842)
This commit is contained in:
committed by
GitHub
parent
87a7f00926
commit
dca49a614f
@@ -734,7 +734,7 @@ impl<T: IsCached> AccountsIndex<T> {
|
||||
let storage = AccountsIndexStorage::new();
|
||||
let account_maps = (0..bins)
|
||||
.into_iter()
|
||||
.map(|_bin| RwLock::new(AccountMap::new(&storage)))
|
||||
.map(|bin| RwLock::new(AccountMap::new(&storage, bin)))
|
||||
.collect::<Vec<_>>();
|
||||
(account_maps, bin_calculator, storage)
|
||||
}
|
||||
|
Reference in New Issue
Block a user