refactor: create type (#17818) (#17848)

(cherry picked from commit 576e3d95f7)

Co-authored-by: Jeff Washington (jwash) <75863576+jeffwashington@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2021-06-09 08:38:04 +00:00
committed by GitHub
parent c9318f8dc2
commit 98e9b6e70b

View File

@ -765,11 +765,13 @@ struct RemoveUnrootedSlotsSynchronization {
signal: Condvar,
}
type AccountInfoAccountsIndex = AccountsIndex<AccountInfo>;
// This structure handles the load/store of the accounts
#[derive(Debug)]
pub struct AccountsDb {
/// Keeps tracks of index into AppendVec on a per slot basis
pub accounts_index: AccountsIndex<AccountInfo>,
pub accounts_index: AccountInfoAccountsIndex,
pub storage: AccountStorage,