diff --git a/runtime/src/accounts_db/geyser_plugin_utils.rs b/runtime/src/accounts_db/geyser_plugin_utils.rs index 866a5628408d51..a5efd030535b27 100644 --- a/runtime/src/accounts_db/geyser_plugin_utils.rs +++ b/runtime/src/accounts_db/geyser_plugin_utils.rs @@ -89,16 +89,11 @@ impl AccountsDb { let slot_stores = slot_stores.read().unwrap(); let mut accounts_to_stream: HashMap = HashMap::default(); let mut measure_filter = Measure::start("accountsdb-plugin-filtering-accounts"); - let mut previous_write_version = None; for (_, storage_entry) in slot_stores.iter() { let accounts = storage_entry.accounts.account_iter(); let mut account_len = 0; accounts.for_each(|account| { account_len += 1; - if let Some(previous_write_version) = previous_write_version { - assert!(previous_write_version < account.meta.write_version_obsolete); - } - previous_write_version = Some(account.meta.write_version_obsolete); if notified_accounts.contains(&account.meta.pubkey) { notify_stats.skipped_accounts += 1; return;