Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexeyAkhunov committed Nov 29, 2024
1 parent 9629067 commit 8e80b53
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions turbo/engineapi/engine_block_downloader/body.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,15 +162,7 @@ func (e *EngineBlockDownloader) downloadAndLoadBodiesSyncronously(ctx context.Co
return false, fmt.Errorf("Could not construct block: %w", err)
}
blocksBatch = append(blocksBatch, block)
/*
ok, err := rawdb.WriteRawBodyIfNotExists(tx, header.Hash(), blockHeight, rawBody)
if err != nil {
return false, fmt.Errorf("WriteRawBodyIfNotExists: %w", err)
}
if ok {
*/
dataflow.BlockBodyDownloadStates.AddChange(blockHeight, dataflow.BlockBodyCleared)
//}

if blockHeight > bodyProgress {
bodyProgress = blockHeight
Expand Down

0 comments on commit 8e80b53

Please sign in to comment.