fix some comments (#27547)

remove stray comment
This commit is contained in:
Jeff Washington (jwash) 2022-09-06 07:21:19 -07:00 committed by GitHub
parent db0bff0668
commit f90e70ff5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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