Skip to content

Commit

Permalink
fix(indexer): remove redundant sync state update call
Browse files Browse the repository at this point in the history
  • Loading branch information
PJColombo committed May 11, 2024
1 parent db50945 commit ef378f8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/indexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,14 +277,6 @@ impl Indexer {
};

synchronizer.run(initial_block_id, head_block_id).await?;

blobscan_client
.update_sync_state(BlockchainSyncState {
last_finalized_block: None,
last_lower_synced_slot: None,
last_upper_synced_slot: Some(head_block_data.slot),
})
.await?;
}
"finalized_checkpoint" => {
let finalized_checkpoint_data =
Expand Down

0 comments on commit ef378f8

Please sign in to comment.