Skip to content

Commit

Permalink
fix: drop unnecessary check
Browse files Browse the repository at this point in the history
  • Loading branch information
n00m4d committed Nov 7, 2024
1 parent 100dbc9 commit ac1ea9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plerkle/src/geyser_plugin_nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion plerkle_snapshot/src/bin/solana-snapshot-etl/geyser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ac1ea9f

Please sign in to comment.