Skip to content

Commit

Permalink
Fix syntax to please the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
alesforz committed Jan 10, 2025
1 parent de99d54 commit 1f478ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/bls12381/key_bls12381.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type PrivKey struct {
sk *blst.SecretKey
}

// GenPrivKeyFromSecret generates a new random key using `secret` for the seed
// GenPrivKeyFromSecret generates a new random key using `secret` for the seed.
func GenPrivKeyFromSecret(secret []byte) (*PrivKey, error) {
if len(secret) != 32 {
seed := sha256.Sum256(secret) // We need 32 bytes
Expand Down

0 comments on commit 1f478ec

Please sign in to comment.