diff --git a/core/txindexer.go b/core/txindexer.go index 70fe5f3322..a985aba581 100644 --- a/core/txindexer.go +++ b/core/txindexer.go @@ -98,7 +98,7 @@ func (indexer *txIndexer) run(tail *uint64, head uint64, stop chan struct{}, don // present), while the whole chain are requested for indexing. if indexer.limit == 0 || head < indexer.limit { if *tail > 0 { - // It can happen when chain is rewound to a historical point which + // It can happen when chain is rewound to an historical point which // is even lower than the indexes tail, recap the indexing target // to new head to avoid reading non-existent block bodies. end := *tail diff --git a/internal/era/accumulator.go b/internal/era/accumulator.go index 2ece2755e1..9242d54c5c 100644 --- a/internal/era/accumulator.go +++ b/internal/era/accumulator.go @@ -47,7 +47,7 @@ func ComputeAccumulator(hashes []common.Hash, tds []*big.Int) (common.Hash, erro return hh.HashRoot() } -// headerRecord is an individual record for a historical header. +// headerRecord is an individual record for an historical header. // // See https://github.com/ethereum/portal-network-specs/blob/master/history-network.md#the-header-accumulator // for more information.