From ba0e6f015a7065d9627e4e20ce92a3ea624910f1 Mon Sep 17 00:00:00 2001 From: Manav Darji Date: Tue, 5 Mar 2024 18:49:23 +0530 Subject: [PATCH] add comments --- eth/fetcher/block_fetcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/fetcher/block_fetcher.go b/eth/fetcher/block_fetcher.go index dd075f447d..8227277830 100644 --- a/eth/fetcher/block_fetcher.go +++ b/eth/fetcher/block_fetcher.go @@ -117,7 +117,7 @@ type headerFilterTask struct { peer string // The source peer of block headers headers []*types.Header // Collection of headers to filter time time.Time // Arrival time of the headers - announcedTime time.Time // Announcement time of the headers + announcedTime time.Time // Announcement time of the availability of the block } // bodyFilterTask represents a batch of block bodies (transactions and uncles) @@ -127,7 +127,7 @@ type bodyFilterTask struct { transactions [][]*types.Transaction // Collection of transactions per block bodies uncles [][]*types.Header // Collection of uncles per block bodies time time.Time // Arrival time of the blocks' contents - announcedTime time.Time + announcedTime time.Time // Announcement time of the availability of the block } // blockOrHeaderInject represents a schedules import operation.