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

Fix typos #294

Merged
merged 3 commits into from
Jan 22, 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 blockmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func generateResponses(msgs []wire.Message,

// The start height must be set to a checkpoint height+1.
if q.StartHeight%wire.CFCheckptInterval != 1 {
return nil, fmt.Errorf("unexpexted start height %v",
return nil, fmt.Errorf("unexpected start height %v",
q.StartHeight)
}

Expand Down
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ func (q *cfiltersQuery) handleResponse(req, resp wire.Message,
}

// prepareCFiltersQuery creates a cfiltersQuery that can be used to fetch a
// CFilter fo the given block hash.
// CFilter for the given block hash.
func (s *ChainService) prepareCFiltersQuery(blockHash chainhash.Hash,
filterType wire.FilterType, batchType optimisticBatchType,
maxBatchSize int64) (*cfiltersQuery, error) {
Expand Down
2 changes: 1 addition & 1 deletion query/workmanager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func TestWorkManagerWorkDispatcherFailures(t *testing.T) {
scheduledJobs[i] = make(chan sched)
}

// Fot each worker, spin up a goroutine that will forward the job it
// For each worker, spin up a goroutine that will forward the job it
// got to our slice of scheduled jobs, such that we can handle them in
// order.
for i := 0; i < len(workers); i++ {
Expand Down
Loading