diff --git a/cmd/clef/main.go b/cmd/clef/main.go index f9b00e4a12..18338c5691 100644 --- a/cmd/clef/main.go +++ b/cmd/clef/main.go @@ -552,7 +552,7 @@ func listWallets(c *cli.Context) error { // accountImport imports a raw hexadecimal private key via CLI. func accountImport(c *cli.Context) error { if c.Args().Len() != 1 { - return errors.New(" must be given as first argument.") + return errors.New(" must be given as first argument") } internalApi, ui, err := initInternalApi(c) if err != nil { @@ -583,7 +583,7 @@ func accountImport(c *cli.Context) error { } if first != second { //lint:ignore ST1005 This is a message for the user - return errors.New("Passwords do not match") + return errors.New("passwords do not match") } acc, err := internalApi.ImportRawKey(hex.EncodeToString(crypto.FromECDSA(pKey)), first) if err != nil {