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 7580760
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/indexer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,13 +278,7 @@ 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 7580760

Please sign in to comment.