cmd: fix inconsistent function name in comment

Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
youzichuan 2025-08-12 23:17:25 +08:00
parent 43b2aac33c
commit 4609f9a471
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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