Fix a comment copy-and-paste error.

This commit is contained in:
David Fifield
2021-03-16 16:57:06 -06:00
parent fbaf32da5b
commit 75a0aa6142
+1 -1
View File
@@ -277,7 +277,7 @@ func DecodeKey(s string) ([]byte, error) {
return key, err
}
// DecodeKey decodes a hex-encoded private or public key.
// EncodeKey encodes a hex-encoded private or public key.
func EncodeKey(key []byte) string {
return hex.EncodeToString(key)
}