From d845dc11d118537f08bdf8080b7e5434d2155ff6 Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Tue, 5 Mar 2024 18:50:40 +0530 Subject: [PATCH] add comments --- eth/fetcher/block_fetcher.go | 2 +- eth/handler.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/fetcher/block_fetcher.go b/eth/fetcher/block_fetcher.go index 8227277830..55567b169a 100644 --- a/eth/fetcher/block_fetcher.go +++ b/eth/fetcher/block_fetcher.go @@ -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. diff --git a/eth/handler.go b/eth/handler.go index 7a7ac7e3ae..c5711460b6 100644 --- a/eth/handler.go +++ b/eth/handler.go @@ -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 {