Skip to content

Commit

Permalink
Merge pull request #294 from GoodDaisy/master
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
guggero authored Jan 22, 2024
2 parents 896ee86 + 01467d0 commit 43f5a58
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 43f5a58

Please sign in to comment.