From 03e033ff54bd9e01ec943aef43c3e36a503bb616 Mon Sep 17 00:00:00 2001 From: Guillaume Ballet Date: Mon, 25 Nov 2019 13:33:18 +0100 Subject: [PATCH] review feedback --- accounts/keystore/passphrase.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/accounts/keystore/passphrase.go b/accounts/keystore/passphrase.go index 6daaa5dbd4..89cdf0bfca 100644 --- a/accounts/keystore/passphrase.go +++ b/accounts/keystore/passphrase.go @@ -117,12 +117,13 @@ func (ks keyStorePassphrase) StoreKey(filename string, key *Key, auth string) er // Verify that we can decrypt the file with the given password. _, err = ks.GetKey(key.Address, tmpName, auth) if err != nil { - msg := "an error was encountered when saving and verifying the keystore file. \n" + + msg := "An error was encountered when saving and verifying the keystore file. \n" + "This indicates that the keystore is corrupted. \n" + "The corrupted file is stored at \n%v\n" + "Please file a ticket at:\n\n" + "https://github.com/ethereum/go-ethereum/issues." + "The error was : %s" + //lint:ignore ST1005 This is a message for the user return fmt.Errorf(msg, tmpName, err) } }