accounts,signer: fix typos in comments (#28730)

This commit is contained in:
Taeguk Kwon
2023-12-28 11:46:51 +01:00
committed by GitHub
parent b5b70033e2
commit 09e0208029
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ func (ks keyStorePassphrase) JoinPath(filename string) string {
return filepath.Join(ks.keysDirPath, filename)
}
// Encryptdata encrypts the data given as 'data' with the password 'auth'.
// EncryptDataV3 encrypts the data given as 'data' with the password 'auth'.
func EncryptDataV3(data, auth []byte, scryptN, scryptP int) (CryptoJSON, error) {
salt := make([]byte, 32)
if _, err := io.ReadFull(rand.Reader, salt); err != nil {