From 576e3d95f74d68784390592b2754d66e0e677a14 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" <75863576+jeffwashington@users.noreply.github.com> Date: Tue, 8 Jun 2021 14:49:08 -0600 Subject: [PATCH] refactor: create type (#17818) --- runtime/src/accounts_db.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 28bebc8511..ecac182a28 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -765,11 +765,13 @@ struct RemoveUnrootedSlotsSynchronization { signal: Condvar, } +type AccountInfoAccountsIndex = AccountsIndex; + // 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, + pub accounts_index: AccountInfoAccountsIndex, pub storage: AccountStorage,