Remove zero_lamport_pubkeys reference (#14808)

This commit is contained in:
sakridge 2021-01-23 10:31:55 -08:00 committed by GitHub
parent 424bb797a6
commit 96b27ca0cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -788,9 +788,6 @@ impl<T: 'static + Clone + IsCached> AccountsIndex<T> {
) { ) {
{ {
let (mut w_account_entry, _is_new) = self.insert_new_entry_if_missing(pubkey); let (mut w_account_entry, _is_new) = self.insert_new_entry_if_missing(pubkey);
if account_info.is_zero_lamport() {
self.zero_lamport_pubkeys.insert(*pubkey);
}
w_account_entry.update(slot, account_info, reclaims); w_account_entry.update(slot, account_info, reclaims);
} }
self.update_secondary_indexes(pubkey, slot, account_owner, account_data, account_indexes); self.update_secondary_indexes(pubkey, slot, account_owner, account_data, account_indexes);