mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-04-15 22:28:35 +00:00
cmd: fix inconsistent function name in comment (#32411)
fix inconsistent function name in comment Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
parent
43b2aac33c
commit
56edd21453
2 changed files with 2 additions and 2 deletions
|
|
@ -704,7 +704,7 @@ func pruneHistory(ctx *cli.Context) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// downladEra is the era1 file downloader tool.
|
||||
// downloadEra is the era1 file downloader tool.
|
||||
func downloadEra(ctx *cli.Context) error {
|
||||
flags.CheckExclusive(ctx, eraBlockFlag, eraEpochFlag, eraAllFlag)
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ func (s *filterTestSuite) filterShortRange(t *utesting.T) {
|
|||
}, s.queryAndCheck)
|
||||
}
|
||||
|
||||
// filterShortRange runs all long-range filter tests.
|
||||
// filterLongRange runs all long-range filter tests.
|
||||
func (s *filterTestSuite) filterLongRange(t *utesting.T) {
|
||||
s.filterRange(t, func(query *filterQuery) bool {
|
||||
return query.ToBlock+1-query.FromBlock > filterRangeThreshold
|
||||
|
|
|
|||
Loading…
Reference in a new issue