remove unnecessary generic args to make refactoring easier (#18619)
This commit is contained in:
parent
0bd8710d34
commit
bb41cf3461
|
@ -646,7 +646,7 @@ impl<T> Default for AccountsIndex<T> {
|
||||||
Self {
|
Self {
|
||||||
account_maps: (0..BINS)
|
account_maps: (0..BINS)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(|_| RwLock::new(AccountMap::<Pubkey, AccountMapEntry<T>>::default()))
|
.map(|_| RwLock::new(AccountMap::default()))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
program_id_index: SecondaryIndex::<DashMapSecondaryIndexEntry>::new(
|
program_id_index: SecondaryIndex::<DashMapSecondaryIndexEntry>::new(
|
||||||
"program_id_index_stats",
|
"program_id_index_stats",
|
||||||
|
|
Loading…
Reference in New Issue