Skip to content

Commit

Permalink
chore: fix some problematic function names (#6184)
Browse files Browse the repository at this point in the history
Signed-off-by: hishope <[email protected]>
  • Loading branch information
hishope authored Dec 3, 2024
1 parent 7e562c3 commit b7b3e5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rpcs/ledgerService.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (ls *LedgerService) Stop() {
}
}

// ServerHTTP returns ledgers for a particular round
// ServeHTTP returns ledgers for a particular round
// Either /v{version}/{genesisID}/ledger/{round} or ?r={round}&v={version}
// Uses gorilla/mux for path argument parsing.
func (ls *LedgerService) ServeHTTP(response http.ResponseWriter, request *http.Request) {
Expand Down
2 changes: 1 addition & 1 deletion util/execpool/backlog.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ func (b *backlog) BufferSize() (length, capacity int) {
return len(b.buffer), cap(b.buffer)
}

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

0 comments on commit b7b3e5e

Please sign in to comment.