Skip to content

Commit

Permalink
accounts,signer: fix typos in comments (ethereum#28730)
Browse files Browse the repository at this point in the history
  • Loading branch information
taeguk authored and gzliudan committed Jan 10, 2025
1 parent 40ccf65 commit 434b5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accounts/keystore/passphrase.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 434b5e6

Please sign in to comment.