From f90e70ff5ac5a8a89d2d1e3b3d50595dc18788d5 Mon Sep 17 00:00:00 2001 From: "Jeff Washington (jwash)" Date: Tue, 6 Sep 2022 07:21:19 -0700 Subject: [PATCH] fix some comments (#27547) remove stray comment --- runtime/src/accounts_db.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 0cd4b1392e..643575d582 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -3729,8 +3729,8 @@ impl AccountsDb { } /// 'accounts' are about to be appended to an ancient append vec. That ancient append vec may already have some accounts. - /// unref each account in 'accounts' that already exists in 'ancient_store' - /// as a side effect, on exit, 'existing_ancient_pubkeys' will contain all pubkeys in 'accounts'. + /// Unref each account in 'accounts' that already exists in 'existing_ancient_pubkeys'. + /// As a side effect, on exit, 'existing_ancient_pubkeys' will now contain all pubkeys in 'accounts'. fn unref_accounts_already_in_storage( &self, accounts: &[(&Pubkey, &StoredAccountMeta<'_>, u64)], @@ -3965,7 +3965,6 @@ impl AccountsDb { ancient_store, &to_store, StorageSelector::Primary, - // we are adding accounts to an existing append vec from a different slot. We need to unref each account that exists already in 'ancient_store'. ); // handle accounts from 'slot' which did not fit into the current ancient append vec