diff --git a/rpcs/ledgerService.go b/rpcs/ledgerService.go index d76273de62..d8f45b3a05 100644 --- a/rpcs/ledgerService.go +++ b/rpcs/ledgerService.go @@ -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) { diff --git a/util/execpool/backlog.go b/util/execpool/backlog.go index c98a2fd427..969587de68 100644 --- a/util/execpool/backlog.go +++ b/util/execpool/backlog.go @@ -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{