cmd: fix inconsistent function name in comment (#32411)
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run

fix inconsistent function name in comment

Signed-off-by: youzichuan <youzichuan6@outlook.com>
This commit is contained in:
youzichuan 2025-08-13 01:37:09 +08:00 committed by GitHub
parent 43b2aac33c
commit 56edd21453
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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