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

multi: Fix function names in some comments. #3245

Merged
merged 1 commit into from
May 4, 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 bech32/bech32_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ func BenchmarkConvertBitsDown(b *testing.B) {
}
}

// BenchmarkConvertBitsDown benchmarks the speed and memory allocation behavior
// BenchmarkConvertBitsUp benchmarks the speed and memory allocation behavior
// of ConvertBits when converting from a lower base into a higher base (e.g. 5
// => 8).
//
Expand Down
2 changes: 1 addition & 1 deletion blockchain/chaingen/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ func (g *Generator) calcNextRequiredDiffASERT() uint32 {
g.params.WorkDiffV2HalfLifeSecs)
}

// calcNextRequiredDifficultyEMA returns the required proof-of-work difficulty
// CalcNextRequiredDifficulty returns the required proof-of-work difficulty
// for the block after the current tip block the generator is associated with
// using the difficulty algorithm configured for the generator.
func (g *Generator) CalcNextRequiredDifficulty() uint32 {
Expand Down
4 changes: 2 additions & 2 deletions upnp.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ func getChildDevice(d *device, deviceType string) *device {
return nil
}

// getChildDevice searches the service list of device for a service with the
// getChildService searches the service list of device for a service with the
// given type.
func getChildService(d *device, serviceType string) *service {
for i := range d.ServiceList.Service {
Expand Down Expand Up @@ -281,7 +281,7 @@ type soapEnvelope struct {
Body soapBody `xml:"Body"`
}

// soapRequests performs a soap request with the given parameters and returns
// soapRequest performs a soap request with the given parameters and returns
// the xml replied stripped of the soap headers. in the case that the request is
// unsuccessful the an error is returned.
func soapRequest(url, function, message string) (replyXML []byte, err error) {
Expand Down
Loading