Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix some problematic function names #6184

Merged
merged 1 commit into from
Dec 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading