Skip to content

Commit

Permalink
Update dot/sync/fullsync_handle_block.go
Browse files Browse the repository at this point in the history
Co-authored-by: Haiko Schol <[email protected]>
  • Loading branch information
EclesioMeloJunior and haikoschol authored Sep 19, 2024
1 parent d3920d1 commit 793295c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/sync/fullsync_handle_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func (b *blockImporter) processBlockDataWithHeaderAndBody(blockData types.BlockD
return nil
}

// handleHeader handles blocks (header+body) included in BlockResponses
// handleBlock executes blocks and writes them to disk
func (b *blockImporter) handleBlock(block *types.Block) error {
parent, err := b.blockState.GetHeader(block.Header.ParentHash)
if err != nil {
Expand Down

0 comments on commit 793295c

Please sign in to comment.