Skip to content

Commit 56edd21

Browse files
authored
cmd: fix inconsistent function name in comment (#32411)
fix inconsistent function name in comment Signed-off-by: youzichuan <youzichuan6@outlook.com>
1 parent 43b2aac commit 56edd21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/geth/chaincmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ func pruneHistory(ctx *cli.Context) error {
704704
return nil
705705
}
706706

707-
// downladEra is the era1 file downloader tool.
707+
// downloadEra is the era1 file downloader tool.
708708
func downloadEra(ctx *cli.Context) error {
709709
flags.CheckExclusive(ctx, eraBlockFlag, eraEpochFlag, eraAllFlag)
710710

cmd/workload/filtertest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func (s *filterTestSuite) filterShortRange(t *utesting.T) {
9292
}, s.queryAndCheck)
9393
}
9494

95-
// filterShortRange runs all long-range filter tests.
95+
// filterLongRange runs all long-range filter tests.
9696
func (s *filterTestSuite) filterLongRange(t *utesting.T) {
9797
s.filterRange(t, func(query *filterQuery) bool {
9898
return query.ToBlock+1-query.FromBlock > filterRangeThreshold

0 commit comments

Comments
 (0)