Skip to content

Commit 09e0208

Browse files
authored
accounts,signer: fix typos in comments (#28730)
1 parent b5b7003 commit 09e0208

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

accounts/keystore/passphrase.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func (ks keyStorePassphrase) JoinPath(filename string) string {
136136
return filepath.Join(ks.keysDirPath, filename)
137137
}
138138

139-
// Encryptdata encrypts the data given as 'data' with the password 'auth'.
139+
// EncryptDataV3 encrypts the data given as 'data' with the password 'auth'.
140140
func EncryptDataV3(data, auth []byte, scryptN, scryptP int) (CryptoJSON, error) {
141141
salt := make([]byte, 32)
142142
if _, err := io.ReadFull(rand.Reader, salt); err != nil {

signer/core/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type ExternalAPI interface {
6565
EcRecover(ctx context.Context, data hexutil.Bytes, sig hexutil.Bytes) (common.Address, error)
6666
// Version info about the APIs
6767
Version(ctx context.Context) (string, error)
68-
// SignGnosisSafeTransaction signs/confirms a gnosis-safe multisig transaction
68+
// SignGnosisSafeTx signs/confirms a gnosis-safe multisig transaction
6969
SignGnosisSafeTx(ctx context.Context, signerAddress common.MixedcaseAddress, gnosisTx GnosisSafeTx, methodSelector *string) (*GnosisSafeTx, error)
7070
}
7171

signer/core/apitypes/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (vs *ValidationMessages) Info(msg string) {
6262
vs.Messages = append(vs.Messages, ValidationInfo{INFO, msg})
6363
}
6464

65-
// getWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present
65+
// GetWarnings returns an error with all messages of type WARN of above, or nil if no warnings were present
6666
func (v *ValidationMessages) GetWarnings() error {
6767
var messages []string
6868
for _, msg := range v.Messages {

signer/core/uiapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import (
3131
"github.com/ethereum/go-ethereum/crypto"
3232
)
3333

34-
// SignerUIAPI implements methods Clef provides for a UI to query, in the bidirectional communication
34+
// UIServerAPI implements methods Clef provides for a UI to query, in the bidirectional communication
3535
// channel.
3636
// This API is considered secure, since a request can only
3737
// ever arrive from the UI -- and the UI is capable of approving any action, thus we can consider these

0 commit comments

Comments
 (0)