Skip to content

Commit b7b3e5e

Browse files
authored
chore: fix some problematic function names (algorand#6184)
Signed-off-by: hishope <csqiye@126.com>
1 parent 7e562c3 commit b7b3e5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rpcs/ledgerService.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func (ls *LedgerService) Stop() {
108108
}
109109
}
110110

111-
// ServerHTTP returns ledgers for a particular round
111+
// ServeHTTP returns ledgers for a particular round
112112
// Either /v{version}/{genesisID}/ledger/{round} or ?r={round}&v={version}
113113
// Uses gorilla/mux for path argument parsing.
114114
func (ls *LedgerService) ServeHTTP(response http.ResponseWriter, request *http.Request) {

util/execpool/backlog.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (b *backlog) BufferSize() (length, capacity int) {
102102
return len(b.buffer), cap(b.buffer)
103103
}
104104

105-
// Enqueue enqueues a single task into the backlog
105+
// EnqueueBacklog enqueues a single task into the backlog
106106
func (b *backlog) EnqueueBacklog(enqueueCtx context.Context, t ExecFunc, arg interface{}, out chan interface{}) error {
107107
select {
108108
case b.buffer <- backlogItemTask{

0 commit comments

Comments
 (0)