mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Use the correct article
Signed-off-by: redismongo <yuanchaowei@outlook.com>
This commit is contained in:
parent
15ff066a24
commit
6aeec31da5
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue