From ac1ea9fb73b0159f25c4fa95d7c532fec9d67664 Mon Sep 17 00:00:00 2001 From: n00m4d Date: Thu, 7 Nov 2024 14:18:16 +0100 Subject: [PATCH] fix: drop unnecessary check --- plerkle/src/geyser_plugin_nft.rs | 2 +- plerkle_snapshot/src/bin/solana-snapshot-etl/geyser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plerkle/src/geyser_plugin_nft.rs b/plerkle/src/geyser_plugin_nft.rs index f0c25cb..7b99a92 100644 --- a/plerkle/src/geyser_plugin_nft.rs +++ b/plerkle/src/geyser_plugin_nft.rs @@ -496,7 +496,7 @@ impl GeyserPlugin for Plerkle<'static> { slot: u64, is_startup: bool, ) -> solana_geyser_plugin_interface::geyser_plugin_interface::Result<()> { - if !self.snapshot_parsing && !self.handle_startup && is_startup { + if !self.handle_startup && is_startup { return Ok(()); } let rep: plerkle_serialization::solana_geyser_plugin_interface_shims::ReplicaAccountInfoV2; diff --git a/plerkle_snapshot/src/bin/solana-snapshot-etl/geyser.rs b/plerkle_snapshot/src/bin/solana-snapshot-etl/geyser.rs index 6d47645..41a4fdf 100644 --- a/plerkle_snapshot/src/bin/solana-snapshot-etl/geyser.rs +++ b/plerkle_snapshot/src/bin/solana-snapshot-etl/geyser.rs @@ -64,7 +64,7 @@ impl GeyserDumper { write_version: account.meta.write_version, }), slot, - /* is_startup */ true, + /* is_startup */ false, )?; self.accounts_count += 1; if self.accounts_count % 1024 == 0 {