Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
manav2401 committed Mar 5, 2024
1 parent ba0e6f0 commit 51a13a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion eth/fetcher/block_fetcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ type BlockFetcher struct {
importedHook func(*types.Header, *types.Block) // Method to call upon successful header or block import (both eth/61 and eth/62)

// Logging
enableBlockTracking bool // Whether to log block tracking information
enableBlockTracking bool // Whether to log information collected while tracking block lifecycle
}

// NewBlockFetcher creates a block fetcher to retrieve blocks based on hash announcements.
Expand Down
2 changes: 1 addition & 1 deletion eth/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type handlerConfig struct {
checker ethereum.ChainValidator
RequiredBlocks map[uint64]common.Hash // Hard coded map of required block hashes for sync challenges
EthAPI *ethapi.BlockChainAPI // EthAPI to interact
enableBlockTracking bool // Whether to log block tracking information
enableBlockTracking bool // Whether to log information collected while tracking block lifecycle
}

type handler struct {
Expand Down

0 comments on commit 51a13a3

Please sign in to comment.