Skip to content

Commit c7bb73e

Browse files
authored
chore: fix some function names in comment (#5121)
Signed-off-by: chengehe <[email protected]>
1 parent 8f7e601 commit c7bb73e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/api/bzz_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ func TestBzzFiles(t *testing.T) {
529529
})
530530
}
531531

532-
// TestRangeRequests validates that all endpoints are serving content with
532+
// TestBzzFilesRangeRequests validates that all endpoints are serving content with
533533
// respect to HTTP Range headers.
534534
func TestBzzFilesRangeRequests(t *testing.T) {
535535
t.Parallel()

pkg/crypto/crypto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func DecodeSecp256k1PrivateKey(data []byte) (*ecdsa.PrivateKey, error) {
8686
return pvk.ToECDSA(), nil
8787
}
8888

89-
// GenerateSecp256k1Key generates an ECDSA private key using
89+
// GenerateSecp256r1Key generates an ECDSA private key using
9090
// secp256k1 elliptic curve.
9191
func GenerateSecp256r1Key() (*ecdsa.PrivateKey, error) {
9292
return ecdsa.GenerateKey(elliptic.P256(), rand.Reader)

0 commit comments

Comments
 (0)